Module Name: src
Committed By: mrg
Date: Mon Aug 4 04:20:01 UTC 2014
Modified Files:
src/usr.sbin/sysinst: disks.c
Log Message:
for the !tmpfs case, ensure that pm_with_swap is initialised.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/disks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/disks.c
diff -u src/usr.sbin/sysinst/disks.c:1.2 src/usr.sbin/sysinst/disks.c:1.3
--- src/usr.sbin/sysinst/disks.c:1.2 Sun Aug 3 16:09:38 2014
+++ src/usr.sbin/sysinst/disks.c Mon Aug 4 04:20:01 2014
@@ -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 @@ make_fstab(void)
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. */