Don't coredump when executed with -o.
This commit is contained in:
parent
52562b1365
commit
e9a7a633a2
@ -141,7 +141,7 @@ main(int argc, char **argv)
|
||||
cfg_lv = 0xff;
|
||||
cfg_in = -2;
|
||||
cfg_cg = -2;
|
||||
out_file = "-";
|
||||
out_file = strdup("-");
|
||||
|
||||
while ((ch = getopt(argc, argv, "g:i:l:o:")) != -1) {
|
||||
switch (ch) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user