Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst for the !tmpfs case, ensure that pm_with_sw...
details: https://anonhg.NetBSD.org/src/rev/00c96f1b5ba6
branches: trunk
changeset: 331162:00c96f1b5ba6
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Aug 04 04:20:01 2014 +0000
description:
for the !tmpfs case, ensure that pm_with_swap is initialised.
diffstat:
usr.sbin/sysinst/disks.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9df6b3d03b4b -r 00c96f1b5ba6 usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c Mon Aug 04 01:25:23 2014 +0000
+++ b/usr.sbin/sysinst/disks.c Mon Aug 04 04:20:01 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disks.c,v 1.2 2014/08/03 16:09:38 martin Exp $ */
+/* $NetBSD: disks.c,v 1.3 2014/08/04 04:20:01 mrg Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -823,7 +823,7 @@
char *dev = NULL;
pm_devs_t *pm_i;
#ifndef HAVE_TMPFS
- pm_devs_t *pm_with_swap;
+ pm_devs_t *pm_with_swap = NULL;
#endif
/* Create the fstab. */
Home |
Main Index |
Thread Index |
Old Index