Bug fix
-Erik
This commit is contained in:
parent
ce91732416
commit
a967e3c8f0
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user