Change use of perror() to warn()
Submitted by: bde
This commit is contained in:
parent
116c1d9d81
commit
b088fe8c8f
@ -238,7 +238,7 @@ Proc(char *filename, unsigned applied)
|
||||
return Exit_Broke;
|
||||
}
|
||||
if ((fd = mkstemp(fn)) == -1 || (f2 = fdopen(fd, "w+")) == NULL) {
|
||||
perror(fn);
|
||||
warn("%s", fn);
|
||||
free(fn);
|
||||
if (fd != -1)
|
||||
close(fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user