[PATCH] vmsplice: actually check for -c...
authorJens Axboe <axboe@suse.de>
Mon, 24 Apr 2006 12:23:55 +0000 (14:23 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 24 Apr 2006 12:23:55 +0000 (14:23 +0200)
vmsplice.c

index 74780e51b72d3ce132db1e80bd1c2609b23a3bc0..6210e5770caca80b580d4f0d80163e40b081a838 100644 (file)
@@ -63,7 +63,7 @@ static int parse_options(int argc, char *argv[])
 {
        int c, index = 1;
 
-       while ((c = getopt(argc, argv, "m")) != -1) {
+       while ((c = getopt(argc, argv, "c")) != -1) {
                switch (c) {
                case 'c':
                        do_clear = 1;