diff options
author | Erik Andersen | 2000-03-14 16:34:49 +0000 |
---|---|---|
committer | Erik Andersen | 2000-03-14 16:34:49 +0000 |
commit | a967e3c8f004d9d613e2f531a3bf7869f2e68b90 (patch) | |
tree | 8174924c2c897950e37d48bf7fc4c8cf7d4e27bb | |
parent | ce91732416d3fb68ebf527ec839e8f810ea65ebd (diff) | |
download | busybox-a967e3c8f004d9d613e2f531a3bf7869f2e68b90.zip busybox-a967e3c8f004d9d613e2f531a3bf7869f2e68b90.tar.gz |
Bug fix
-Erik
-rw-r--r-- | freeramdisk.c | 2 | ||||
-rw-r--r-- | util-linux/freeramdisk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/freeramdisk.c b/freeramdisk.c index 426e132..43d42d4 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 426e132..43d42d4 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); } |