Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/newfs Revert accidental commit of the change for PR 479...
details: https://anonhg.NetBSD.org/src/rev/f9cbfd921cd7
branches: trunk
changeset: 787549:f9cbfd921cd7
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Jun 23 04:14:28 2013 +0000
description:
Revert accidental commit of the change for PR 47911; got rolled into
other stuff by mistake.
diffstat:
sbin/newfs/mkfs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2155919c99d2 -r f9cbfd921cd7 sbin/newfs/mkfs.c
--- a/sbin/newfs/mkfs.c Sun Jun 23 03:16:46 2013 +0000
+++ b/sbin/newfs/mkfs.c Sun Jun 23 04:14:28 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkfs.c,v 1.117 2013/06/23 02:06:05 dholland Exp $ */
+/* $NetBSD: mkfs.c,v 1.118 2013/06/23 04:14:28 dholland Exp $ */
/*
* Copyright (c) 1980, 1989, 1993
@@ -73,7 +73,7 @@
#if 0
static char sccsid[] = "@(#)mkfs.c 8.11 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: mkfs.c,v 1.117 2013/06/23 02:06:05 dholland Exp $");
+__RCSID("$NetBSD: mkfs.c,v 1.118 2013/06/23 04:14:28 dholland Exp $");
#endif
#endif /* not lint */
@@ -1257,7 +1257,7 @@
if (isappleufs)
dirblksiz = APPLEUFS_DIRBLKSIZ;
- memset(buf, 0, dirblksiz);
+ memset(buf, 0, UFS_DIRBLKSIZ);
spcleft = dirblksiz;
for (cp = buf, i = 0; i < entries - 1; i++) {
protodir[i].d_reclen = UFS_DIRSIZ(Oflag == 0, &protodir[i], 0);
Home |
Main Index |
Thread Index |
Old Index