Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makefs no, this is wrong.
details: https://anonhg.NetBSD.org/src/rev/6635060942ef
branches: trunk
changeset: 351232:6635060942ef
user: christos <christos%NetBSD.org@localhost>
date: Wed Feb 08 02:23:45 2017 +0000
description:
no, this is wrong.
diffstat:
usr.sbin/makefs/ffs.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 965f9d521723 -r 6635060942ef usr.sbin/makefs/ffs.c
--- a/usr.sbin/makefs/ffs.c Wed Feb 08 02:20:35 2017 +0000
+++ b/usr.sbin/makefs/ffs.c Wed Feb 08 02:23:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs.c,v 1.67 2017/02/08 02:20:35 christos Exp $ */
+/* $NetBSD: ffs.c,v 1.68 2017/02/08 02:23:45 christos Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -71,7 +71,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: ffs.c,v 1.67 2017/02/08 02:20:35 christos Exp $");
+__RCSID("$NetBSD: ffs.c,v 1.68 2017/02/08 02:23:45 christos Exp $");
#endif /* !__lint */
#include <sys/param.h>
@@ -294,7 +294,6 @@
/* update various superblock parameters */
superblock = fsopts->superblock;
- memset(superblock, 0, sizeof(*superblock));
superblock->fs_fmod = 0;
superblock->fs_old_cstotal.cs_ndir = superblock->fs_cstotal.cs_ndir;
superblock->fs_old_cstotal.cs_nbfree = superblock->fs_cstotal.cs_nbfree;
Home |
Main Index |
Thread Index |
Old Index