diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 03:57:47 +0000 |
commit | 4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch) | |
tree | 15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/bad144/bad144.c | |
parent | 30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff) | |
download | FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/bad144/bad144.c')
-rw-r--r-- | usr.sbin/bad144/bad144.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bad144/bad144.c b/usr.sbin/bad144/bad144.c index 97757fe..f22324b 100644 --- a/usr.sbin/bad144/bad144.c +++ b/usr.sbin/bad144/bad144.c @@ -51,7 +51,7 @@ static const char sccsid[] = "@(#)bad144.c 8.1 (Berkeley) 6/6/93"; * * It is preferable to write the bad information with a standard formatter, * but this program will do. - * + * * RP06 sectors are marked as bad by inverting the format bit in the * header; on other drives the valid-sector bit is cleared. */ @@ -131,7 +131,7 @@ bad_scan(argc, argv, dp, f, bstart, bend) } /* scan the entire disk a sector at a time. Because of all the - * clustering in the kernel, we cannot scan a track at a time, + * clustering in the kernel, we cannot scan a track at a time, * If we do, we may have to read twice over the block to find * exactly which one failed, and it may not fail second time. */ @@ -162,7 +162,7 @@ bad_scan(argc, argv, dp, f, bstart, bend) *argv = &nargv[0]; i = 0; n = ioctl(f,DIOCSBADSCAN,&i); - if (n < 0) + if (n < 0) perror("Couldn't reset disk from \"badscan\" mode"); } @@ -238,7 +238,7 @@ usage: f = open(name, !sflag && argc == 1? O_RDONLY : O_RDWR); if (f < 0) Perror(name); - if (read(f, label, sizeof(label)) < 0) + if (read(f, label, sizeof(label)) < 0) Perror("read"); for (dp = (struct disklabel *)(label + LABELOFFSET); dp < (struct disklabel *) @@ -408,7 +408,7 @@ usage: if (nflag == 0 && (dp->d_flags & D_BADSECT) == 0) { dp->d_flags |= D_BADSECT; dp->d_checksum = 0; - dp->d_checksum = dkcksum(dp); + dp->d_checksum = dkcksum(dp); if (ioctl(f, DIOCWDINFO, dp) < 0) { fprintf(stderr, "Can't write disklabel to enable bad sector handling: %s\n", |