hexdump: fixlet for my breakage

This commit is contained in:
Denis Vlasenko 2006-09-23 15:53:01 +00:00
parent ec17d437ab
commit 4c196a80fc

View File

@ -60,7 +60,7 @@ int hexdump_main(int argc, char **argv)
bb_dump_length = -1; bb_dump_length = -1;
while ((ch = getopt(argc, argv, hexdump_opts)) > 0) { while ((ch = getopt(argc, argv, hexdump_opts)) > 0) {
p = strchr(hexdump_opts, ch) p = strchr(hexdump_opts, ch);
if (!p) if (!p)
bb_show_usage(); bb_show_usage();
if ((p - hexdump_opts) < 5) { if ((p - hexdump_opts) < 5) {