diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-01 16:08:21 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-01 16:08:21 +0000 |
commit | 2c636c5e1ee5d24ab66aee709435d0c97f8472e9 (patch) | |
tree | b341498e6aaf94b66903901b5201275c3b260de1 /sys/arch/socppc/stand | |
parent | 4bcd0a58316fc859b2e03a05faa1db731f8541d6 (diff) |
Remove more blinding trailing whitespace.
Diffstat (limited to 'sys/arch/socppc/stand')
-rw-r--r-- | sys/arch/socppc/stand/boot/wd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/socppc/stand/boot/wd.c b/sys/arch/socppc/stand/boot/wd.c index 848ee1093c1..0f1c3c349af 100644 --- a/sys/arch/socppc/stand/boot/wd.c +++ b/sys/arch/socppc/stand/boot/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.7 2013/11/05 00:51:58 krw Exp $ */ +/* $OpenBSD: wd.c,v 1.8 2015/10/01 16:08:20 krw Exp $ */ /* $NetBSD: wd.c,v 1.5 2005/12/11 12:17:06 christos Exp $ */ /*- @@ -101,7 +101,7 @@ wd_get_params(wd) #endif wd->sc_params = *(struct ataparams *)buf; - + /* 48-bit LBA addressing */ if ((wd->sc_params.atap_cmd2_en & ATAPI_CMD2_48AD) != 0) { DPRINTF(("Drive supports LBA48.\n")); @@ -190,7 +190,7 @@ wdgetdisklabel(wd) * Lookup OpenBSD slice. If there is none, go ahead * and try to read the disklabel off sector #0. */ - + memcpy(dp, &buf[DOSPARTOFF], NDOSPART * sizeof(*dp)); for (i = 0; i < NDOSPART; i++) { if (dp[i].dp_typ == DOSPTYP_OPENBSD) { @@ -291,7 +291,7 @@ wdstrategy(f, rw, dblk, size, buf, rsize) if (size == 0) return (0); - + if (rw != F_READ) return EOPNOTSUPP; |