Don't coredump when executed with -o.
This commit is contained in:
parent
c4b709a010
commit
5c68d10833
@ -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…
Reference in New Issue
Block a user