From 818794af45d261dd59262e4c38aa4bd28012b26b Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 3 Sep 2013 14:01:01 +0100 Subject: [PATCH] Set target to argv[0] - this is a bit more clear --- mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mount.c b/mount.c index 5ef9dfb..8dead55 100644 --- a/mount.c +++ b/mount.c @@ -104,7 +104,7 @@ main(int argc, char *argv[]) target = argv[1]; if (!target) { - target = source; + target = argv[0]; source = NULL; if (stat(target, &st1) < 0) eprintf("stat %s:", target);