From 1c0d75a10f832a9d000d8dee9a82751c2c0f54c7 Mon Sep 17 00:00:00 2001 From: krw Date: Wed, 21 May 2014 18:53:05 +0000 Subject: [PATCH] Nuke some trailing whitespace to shrink subsequent diffs. --- sbin/fsck_ffs/inode.c | 4 ++-- sbin/fsck_ffs/pass5.c | 4 ++-- sbin/fsck_ffs/utilities.c | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index 9741f3d5dda..2d5b6943de6 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inode.c,v 1.41 2013/11/11 18:51:06 deraadt Exp $ */ +/* $OpenBSD: inode.c,v 1.42 2014/05/21 18:53:05 krw Exp $ */ /* $NetBSD: inode.c,v 1.23 1996/10/11 20:15:47 thorpej Exp $ */ /* @@ -292,7 +292,7 @@ ginode(ino_t inumber) startinum = (inumber / INOPB(&sblock)) * INOPB(&sblock); } if (sblock.fs_magic == FS_UFS1_MAGIC) - return ((union dinode *) + return ((union dinode *) &pbp->b_un.b_dinode1[inumber % INOPB(&sblock)]); return ((union dinode *)&pbp->b_un.b_dinode2[inumber % INOPB(&sblock)]); } diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 0485c79aa57..4c5c81a4613 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass5.c,v 1.43 2013/06/11 16:42:04 deraadt Exp $ */ +/* $OpenBSD: pass5.c,v 1.44 2014/05/21 18:53:05 krw Exp $ */ /* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */ /* @@ -366,7 +366,7 @@ pass5(void) info_fn = NULL; if (fs->fs_postblformat == FS_42POSTBLFMT) fs->fs_nrpos = savednrpos; - + sumsize = sizeof(cstotal) - sizeof(cstotal.cs_spare); if (memcmp(&cstotal, &fs->fs_cstotal, sumsize) != 0 && dofix(&idesc[0], "FREE BLK COUNT(S) WRONG IN SUPERBLK")) { diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c index 475b83a76f8..55f51e3527f 100644 --- a/sbin/fsck_ffs/utilities.c +++ b/sbin/fsck_ffs/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.44 2014/05/20 21:11:16 krw Exp $ */ +/* $OpenBSD: utilities.c,v 1.45 2014/05/21 18:53:05 krw Exp $ */ /* $NetBSD: utilities.c,v 1.18 1996/09/27 22:45:20 christos Exp $ */ /* @@ -617,4 +617,3 @@ catchinfo(int signo) } errno = save_errno; } - -- 2.20.1