summaryrefslogtreecommitdiffstats
path: root/usr.sbin/boot0cfg
diff options
context:
space:
mode:
authorbrucec <brucec@FreeBSD.org>2010-12-06 11:37:24 +0000
committerbrucec <brucec@FreeBSD.org>2010-12-06 11:37:24 +0000
commit49fb72e297bb1e730b57e70bcaa86a0b69151b66 (patch)
treeda2786d53a5c82d6fc0b8a38038aaff324f5e83c /usr.sbin/boot0cfg
parent92646cacc6dce04db13c04ea2f6e943f5242ca41 (diff)
downloadFreeBSD-src-49fb72e297bb1e730b57e70bcaa86a0b69151b66.zip
FreeBSD-src-49fb72e297bb1e730b57e70bcaa86a0b69151b66.tar.gz
Revert r209469: it causes the rest of the function to be bypassed.
Reported by: ae
Diffstat (limited to 'usr.sbin/boot0cfg')
-rw-r--r--usr.sbin/boot0cfg/boot0cfg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.c b/usr.sbin/boot0cfg/boot0cfg.c
index fe2c755..cd3bfe2 100644
--- a/usr.sbin/boot0cfg/boot0cfg.c
+++ b/usr.sbin/boot0cfg/boot0cfg.c
@@ -356,8 +356,6 @@ 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);
}
/*
OpenPOWER on IntegriCloud