From b2f6bdeeaa582305f8fed21855ac3078856937f2 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 27 Mar 2001 19:38:34 +0000 Subject: [PATCH] Make rev 1.5 better match the rest of dump(8)'s output. --- sbin/dump/itime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/dump/itime.c b/sbin/dump/itime.c index 981f532c79cc..001afa245332 100644 --- a/sbin/dump/itime.c +++ b/sbin/dump/itime.c @@ -85,7 +85,7 @@ initdumptimes() if ((df = fopen(dumpdates, "r")) == NULL) { if (errno != ENOENT) { - msg("cannot read %s: %s\n", dumpdates, + msg("WARNING: cannot read %s: %s\n", dumpdates, strerror(errno)); return; /* NOTREACHED */ @@ -95,7 +95,7 @@ initdumptimes() */ msg("WARNING: no file `%s', making an empty one\n", dumpdates); if ((df = fopen(dumpdates, "w")) == NULL) { - msg("cannot create %s: %s\n", dumpdates, + msg("WARNING: cannot create %s: %s\n", dumpdates, strerror(errno)); return; /* NOTREACHED */