summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ctm/ctm/ctm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ctm/ctm/ctm.c b/usr.sbin/ctm/ctm/ctm.c
index eb7d5f4..5f16249 100644
--- a/usr.sbin/ctm/ctm/ctm.c
+++ b/usr.sbin/ctm/ctm/ctm.c
@@ -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);
OpenPOWER on IntegriCloud