summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-08-23 08:51:25 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-08-23 08:51:25 +0000
commit16ef9820b980458cc935bc016904ad857a8b83f6 (patch)
treee8a48e93b614341ceda24d8fdcf4a2af39a0f334
parent2f510f444854a6a2b1f1a1835af99a47d5409c31 (diff)
Notes
-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 eb7d5f42456a..5f16249f70be 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);