diff options
| author | Ulf Lilleengen <lulf@FreeBSD.org> | 2008-09-30 07:18:49 +0000 |
|---|---|---|
| committer | Ulf Lilleengen <lulf@FreeBSD.org> | 2008-09-30 07:18:49 +0000 |
| commit | bd5add5884ab280bd71ea125fac9c20c3eb13bc7 (patch) | |
| tree | 91194d97b4792749cc951e6a2233b54b2458b2ba /usr.sbin/boot0cfg | |
| parent | ad415775a173a3a22fd1322acd381b9e17f3c123 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/boot0cfg')
| -rw-r--r-- | usr.sbin/boot0cfg/boot0cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.c b/usr.sbin/boot0cfg/boot0cfg.c index 63fa78e5549c..6f10308b7e3b 100644 --- a/usr.sbin/boot0cfg/boot0cfg.c +++ b/usr.sbin/boot0cfg/boot0cfg.c @@ -274,12 +274,12 @@ write_mbr(const char *fname, int flags, u_int8_t *mbr, int mbr_size) /* Try open it read only. */ fd = open(fname, O_RDONLY); if (fd == -1) { - warnx("Error opening %s\n", fname); + warn("error opening %s", fname); return; } pname = g_providername(fd); if (pname == NULL) { - warnx("Error getting providername for %s\n", fname); + warn("error getting providername for %s", fname); return; } if (flags != 0) |
