Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Explicitly ignore errors in the hack for mu...



details:   https://anonhg.NetBSD.org/src/rev/1806baaf8b48
branches:  trunk
changeset: 345489:1806baaf8b48
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon May 30 17:03:21 2016 +0000

description:
Explicitly ignore errors in the hack for mucking with wedges; mark it XXX
for future attention. Other part of PR 50886 from David Binderman.

diffstat:

 usr.sbin/sysinst/partman.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 08d7bc165cad -r 1806baaf8b48 usr.sbin/sysinst/partman.c
--- a/usr.sbin/sysinst/partman.c        Mon May 30 17:00:38 2016 +0000
+++ b/usr.sbin/sysinst/partman.c        Mon May 30 17:03:21 2016 +0000
@@ -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 @@
                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;
                }
 



Home | Main Index | Thread Index | Old Index