Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Remove unconditional truncation - it confus...
details: https://anonhg.NetBSD.org/src/rev/89d941cf7e48
branches: trunk
changeset: 448858:89d941cf7e48
user: martin <martin%NetBSD.org@localhost>
date: Mon Feb 11 20:03:28 2019 +0000
description:
Remove unconditional truncation - it confuses gcc
diffstat:
usr.sbin/sysinst/partman.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r d5f22cabf4b2 -r 89d941cf7e48 usr.sbin/sysinst/partman.c
--- a/usr.sbin/sysinst/partman.c Mon Feb 11 19:58:22 2019 +0000
+++ b/usr.sbin/sysinst/partman.c Mon Feb 11 20:03:28 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: partman.c,v 1.27 2019/02/11 19:58:22 martin Exp $ */
+/* $NetBSD: partman.c,v 1.28 2019/02/11 20:03:28 martin Exp $ */
/*
* Copyright 2012 Eugene Lozovoy
@@ -1934,8 +1934,6 @@
pm_cur->diskdev_descr[
sizeof(pm_cur->diskdev_descr)-1]
= 0;
- pm_cur->diskdev_descr[
- sizeof(pm_cur->diskdev_descr)-1] = 0;
break;
}
} else if (! strncmp(pm_cur->diskdev, "raid", 4)) {
Home |
Main Index |
Thread Index |
Old Index