Module Name: src Committed By: christos Date: Thu Mar 17 01:41:54 UTC 2016
Modified Files: src/sbin/resize_ffs: resize_ffs.c Log Message: fix pasto To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sbin/resize_ffs/resize_ffs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/resize_ffs/resize_ffs.c diff -u src/sbin/resize_ffs/resize_ffs.c:1.45 src/sbin/resize_ffs/resize_ffs.c:1.46 --- src/sbin/resize_ffs/resize_ffs.c:1.45 Wed Mar 16 20:54:53 2016 +++ src/sbin/resize_ffs/resize_ffs.c Wed Mar 16 21:41:54 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: resize_ffs.c,v 1.45 2016/03/17 00:54:53 christos Exp $ */ +/* $NetBSD: resize_ffs.c,v 1.46 2016/03/17 01:41:54 christos Exp $ */ /* From sources sent on February 17, 2003 */ /*- * As its sole author, I explicitly place this code in the public @@ -36,7 +36,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: resize_ffs.c,v 1.45 2016/03/17 00:54:53 christos Exp $"); +__RCSID("$NetBSD: resize_ffs.c,v 1.46 2016/03/17 01:41:54 christos Exp $"); #include <sys/disk.h> #include <sys/disklabel.h> @@ -1274,7 +1274,7 @@ loadinodes(void) } else { if (needswap) { ffs_dinode1_swap(&(dp1[i]), &(dp1[i])); - for (j = 0; j < UFS_NIADDR; j++) + for (j = 0; j < UFS_NDADDR; j++) dp1[i].di_db[j] = bswap32(dp1[i].di_db[j]); for (j = 0; j < UFS_NIADDR; j++)