summaryrefslogtreecommitdiff
path: root/sbin/fsck_ext2fs
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-05-21 17:52:27 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-05-21 17:52:27 +0000
commit50aa7bfe4f14efc9e1a6301c8fad032ea4eeaea2 (patch)
tree8beb005b7f4530df27d4335cbadc09cc9f7d60a0 /sbin/fsck_ext2fs
parentd73d6b6a52ab5313d212554a416d4b817a8d82cc (diff)
Nuke some trailing whitespace to shrink subsequent diffs.
Diffstat (limited to 'sbin/fsck_ext2fs')
-rw-r--r--sbin/fsck_ext2fs/dir.c4
-rw-r--r--sbin/fsck_ext2fs/inode.c4
-rw-r--r--sbin/fsck_ext2fs/main.c3
3 files changed, 5 insertions, 6 deletions
diff --git a/sbin/fsck_ext2fs/dir.c b/sbin/fsck_ext2fs/dir.c
index 99d283977a9..875f13ffa8b 100644
--- a/sbin/fsck_ext2fs/dir.c
+++ b/sbin/fsck_ext2fs/dir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dir.c,v 1.16 2013/04/24 13:46:27 deraadt Exp $ */
+/* $OpenBSD: dir.c,v 1.17 2014/05/21 17:52:26 krw Exp $ */
/* $NetBSD: dir.c,v 1.5 2000/01/28 16:01:46 bouyer Exp $ */
/*
@@ -533,7 +533,7 @@ expanddir(struct ext2fs_dinode *dp, char *name)
if ((firstblk = malloc(sblock.e2fs_bsize)) == NULL) {
fprintf(stderr, "out of memory\n");
exit(8);
- }
+ }
memcpy(firstblk, bp->b_un.b_buf, sblock.e2fs_bsize);
bp = getdirblk(newblk, sblock.e2fs_bsize);
if (bp->b_errs) {
diff --git a/sbin/fsck_ext2fs/inode.c b/sbin/fsck_ext2fs/inode.c
index ca9225dff82..b73a53170d0 100644
--- a/sbin/fsck_ext2fs/inode.c
+++ b/sbin/fsck_ext2fs/inode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inode.c,v 1.19 2013/04/24 13:46:27 deraadt Exp $ */
+/* $OpenBSD: inode.c,v 1.20 2014/05/21 17:52:26 krw Exp $ */
/* $NetBSD: inode.c,v 1.8 2000/01/28 16:01:46 bouyer Exp $ */
/*
@@ -86,7 +86,7 @@ u_int64_t
inosize(struct ext2fs_dinode *dp)
{
u_int64_t size = fs2h32(dp->e2di_size);
-
+
if ((fs2h16(dp->e2di_mode) & IFMT) == IFREG)
size |= (u_int64_t)fs2h32(dp->e2di_dacl) << 32;
if (size >= 0x80000000U)
diff --git a/sbin/fsck_ext2fs/main.c b/sbin/fsck_ext2fs/main.c
index d87e2c127ae..830379dff03 100644
--- a/sbin/fsck_ext2fs/main.c
+++ b/sbin/fsck_ext2fs/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.19 2013/04/25 06:43:20 otto Exp $ */
+/* $OpenBSD: main.c,v 1.20 2014/05/21 17:52:26 krw Exp $ */
/* $NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $ */
/*
@@ -306,4 +306,3 @@ usage(void)
__progname);
exit(1);
}
-