diff --git a/src/utils/readfile.cpp b/src/utils/readfile.cpp index 51ff180c..e146ae5e 100644 --- a/src/utils/readfile.cpp +++ b/src/utils/readfile.cpp @@ -268,7 +268,7 @@ int main(int argc, const char **argv) case 'c': op_flags |= OPT_c; if (argc < 2) Usage(); cnt = atol(*(++argv)); argc--; goto b1; - case 'o': op_flags |= OPT_c; if (argc < 2) Usage(); + case 'o': op_flags |= OPT_o; if (argc < 2) Usage(); offs = strtoul(*(++argv), 0, 0); argc--; goto b1; default: Usage(); break;