ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 818794af45d261dd59262e4c38aa4bd28012b26b
parent 6ba6b731c18c5555cb156916fd7ae06654c8c60a
Author: sin <sin@2f30.org>
Date:   Tue Sep  3 14:01:01 +0100

Set target to argv[0] - this is a bit more clear

Diffstat:
mount.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);