summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_diskslice.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-01 09:39:11 +0000
committerphk <phk@FreeBSD.org>1999-09-01 09:39:11 +0000
commitb852982dfb58e21d5cd9071a28d8710c3bb4413c (patch)
tree25370dc9c357ac42695c27ab8ad7ccc4f421f9e3 /sys/kern/subr_diskslice.c
parent96d87db4acf507e3ea9b5d9508647694473c177a (diff)
downloadFreeBSD-src-b852982dfb58e21d5cd9071a28d8710c3bb4413c.zip
FreeBSD-src-b852982dfb58e21d5cd9071a28d8710c3bb4413c.tar.gz
Use "multiple 4 char outdent until no wrap" rather than ANSI string
concatenation to preserve K&R compatibility. Requested by: bde Terminology by: grog
Diffstat (limited to 'sys/kern/subr_diskslice.c')
-rw-r--r--sys/kern/subr_diskslice.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/subr_diskslice.c b/sys/kern/subr_diskslice.c
index 5424a6a..d8dda72 100644
--- a/sys/kern/subr_diskslice.c
+++ b/sys/kern/subr_diskslice.c
@@ -207,10 +207,10 @@ if (labelsect != 0) Debugger("labelsect != 0 in dscheck()");
newsecno = transbad144(sp->ds_bad, slicerel_secno);
if (newsecno != slicerel_secno)
- printf("dscheck(%s):"
- " should map bad sector %ld -> %ld\n",
+ printf(
+ "dscheck(%s): should map bad sector %ld -> %ld\n",
devtoname(bp->b_dev),
- (long)slicerel_secno, (long)newsecno);
+ (long)slicerel_secno, (long)newsecno);
}
}
@@ -305,15 +305,15 @@ if (labelsect != 0) Debugger("labelsect != 0 in dscheck()");
return (1);
bad_bcount:
- printf("dscheck(%s):"
- " b_bcount %ld is not on a sector boundary (ssize %d)\n",
+ printf(
+ "dscheck(%s): b_bcount %ld is not on a sector boundary (ssize %d)\n",
devtoname(bp->b_dev), bp->b_bcount, ssp->dss_secsize);
bp->b_error = EINVAL;
goto bad;
bad_blkno:
- printf("dscheck(%s):"
- " b_blkno %ld is not on a sector boundary (ssize %d)\n",
+ printf(
+ "dscheck(%s): b_blkno %ld is not on a sector boundary (ssize %d)\n",
devtoname(bp->b_dev), (long)blkno, ssp->dss_secsize);
bp->b_error = EINVAL;
goto bad;
OpenPOWER on IntegriCloud