diff options
Diffstat (limited to 'fxotune.c')
-rwxr-xr-x | fxotune.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -509,7 +509,7 @@ set: } if (!strcasecmp(argv[1], "-i")) { - if (argc != 2) { + if (argc != 3) { /* Show usage */ fputs(usage, stdout); return -1; @@ -531,7 +531,7 @@ set: continue; } - res = acim_tune(fd, "4"); /* Shouldn't matter what digit we press */ + res = acim_tune(fd, argv[2]); /* Shouldn't matter what digit we press */ close(fd); if (res > -1) { @@ -561,5 +561,7 @@ set: goto set; } + fputs(usage, stdout); + return 0; } |