From d77ce1f09a8124d39922e1f7e3fa925c5bb561fc Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 14 Mar 2000 16:34:49 +0000 Subject: Bug fix -Erik git-svn-id: svn://busybox.net/trunk/busybox@405 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- freeramdisk.c | 2 +- util-linux/freeramdisk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- cgit v1.2.3-55-g6feb