ansi2text.c(main): pass missing eval argument to err()
This commit is contained in:
parent
550135fcff
commit
a5b456affb
@ -1,6 +1,7 @@
|
||||
2020-12-14 Michael Small <smallm@sdf.org>
|
||||
|
||||
* ansi2text.c: include err.h to avoid implicit declartion warning
|
||||
(main): pass missing eval argument to err()
|
||||
|
||||
2020-12-14 Michael Small <smallm@sdf.org>
|
||||
|
||||
|
@ -349,7 +349,7 @@ main(int argc, char **argv) {
|
||||
|
||||
if (*argv) {
|
||||
if ((fdin = open(*argv, O_RDONLY)) < 0)
|
||||
err("Error opening file: %s", *argv);
|
||||
err(1, "Error opening file: %s", *argv);
|
||||
}
|
||||
|
||||
screensize = cols * lines;
|
||||
|
Loading…
Reference in New Issue
Block a user