Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/resize_lfs make this compile again
details: https://anonhg.NetBSD.org/src/rev/065a8704fe9c
branches: trunk
changeset: 787458:065a8704fe9c
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 19 01:07:55 2013 +0000
description:
make this compile again
diffstat:
sbin/resize_lfs/resize_lfs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r ddad12acd8e5 -r 065a8704fe9c sbin/resize_lfs/resize_lfs.c
--- a/sbin/resize_lfs/resize_lfs.c Wed Jun 19 00:41:16 2013 +0000
+++ b/sbin/resize_lfs/resize_lfs.c Wed Jun 19 01:07:55 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resize_lfs.c,v 1.6 2008/04/28 20:23:09 martin Exp $ */
+/* $NetBSD: resize_lfs.c,v 1.7 2013/06/19 01:07:55 christos Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -124,8 +124,8 @@
for (sboff = LFS_LABELPAD;;) {
pread(devfd, buf, sboff, LFS_SBPAD);
memcpy(&fs->lfs_dlfs, buf, sizeof(struct dlfs));
- if (sboff == LFS_LABELPAD && fsbtob(fs, 1) > LFS_LABELPAD)
- sboff = fsbtob(fs, (off_t)fs->lfs_sboffs[0]);
+ if (sboff == LFS_LABELPAD && lfs_fsbtob(fs, 1) > LFS_LABELPAD)
+ sboff = lfs_fsbtob(fs, (off_t)fs->lfs_sboffs[0]);
else
break;
}
Home |
Main Index |
Thread Index |
Old Index