summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorRebecca Cran <brucec@FreeBSD.org>2010-08-07 13:02:26 +0000
committerRebecca Cran <brucec@FreeBSD.org>2010-08-07 13:02:26 +0000
commit57782f3ec5dbff98dd1bcd682366ec14a16894a5 (patch)
treeda9983f67c45e39af2a35ab2798d233c65668e8d /usr.sbin
parent8555b5a97b04581f4993ee86357ca860a63f1ea3 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/boot0cfg/boot0cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.c b/usr.sbin/boot0cfg/boot0cfg.c
index f5f1e53326d0f..b0b74db783c03 100644
--- a/usr.sbin/boot0cfg/boot0cfg.c
+++ b/usr.sbin/boot0cfg/boot0cfg.c
@@ -355,6 +355,8 @@ write_mbr(const char *fname, int flags, u_int8_t *mbr, int mbr_size)
if (n != mbr_size)
errx(1, "%s: short write", fname);
return;
+ } else {
+ err(1, "write_mbr: %s", fname);
}
if (flags != 0)