From: Erik Andersen Date: Tue, 14 Mar 2000 16:34:49 +0000 (-0000) Subject: Bug fix X-Git-Tag: 0_43~79 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a967e3c8f004d9d613e2f531a3bf7869f2e68b90;p=oweals%2Fbusybox.git Bug fix -Erik --- diff --git a/freeramdisk.c b/freeramdisk.c index 426e13231..43d42d424 100644 --- a/freeramdisk.c +++ b/freeramdisk.c @@ -42,7 +42,7 @@ freeramdisk_main(int argc, char **argv) char rname[256] = "/dev/ram"; int f; - if (argc >= 2 || ( argv[1] && *argv[1] == '-')) { + if (argc > 2 || ( argv[1] && *argv[1] == '-')) { usage(freeramdisk_usage); } diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index 426e13231..43d42d424 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -42,7 +42,7 @@ freeramdisk_main(int argc, char **argv) char rname[256] = "/dev/ram"; int f; - if (argc >= 2 || ( argv[1] && *argv[1] == '-')) { + if (argc > 2 || ( argv[1] && *argv[1] == '-')) { usage(freeramdisk_usage); }