Module Name: src
Committed By: dholland
Date: Mon May 30 17:03:21 UTC 2016
Modified Files:
src/usr.sbin/sysinst: partman.c
Log Message:
Explicitly ignore errors in the hack for mucking with wedges; mark it XXX
for future attention. Other part of PR 50886 from David Binderman.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/sysinst/partman.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/partman.c
diff -u src/usr.sbin/sysinst/partman.c:1.12 src/usr.sbin/sysinst/partman.c:1.13
--- src/usr.sbin/sysinst/partman.c:1.12 Mon May 30 17:00:38 2016
+++ src/usr.sbin/sysinst/partman.c Mon May 30 17:03:21 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: partman.c,v 1.12 2016/05/30 17:00:38 dholland Exp $ */
+/* $NetBSD: partman.c,v 1.13 2016/05/30 17:03:21 dholland Exp $ */
/*
* Copyright 2012 Eugene Lozovoy
@@ -1807,6 +1807,7 @@ pm_wedge_create(int num, pm_devs_t **pm_
if (! wedges[i].allocated && wedges[i].todel) {
hackerr = run_program(RUN_SILENT | RUN_ERROR_OK,
"dkctl %s delwedge dk%d", wedges[num].pm->diskdev, i);
+ (void)hackerr; /* XXX */
wedges[i].todel = 0;
}