Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst devdev is an array, remove NULL check (rin)
details: https://anonhg.NetBSD.org/src/rev/67922e61bfd6
branches: trunk
changeset: 457347:67922e61bfd6
user: christos <christos%NetBSD.org@localhost>
date: Thu Jun 20 15:49:20 2019 +0000
description:
devdev is an array, remove NULL check (rin)
diffstat:
usr.sbin/sysinst/disks.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (18 lines):
diff -r e723ac93291b -r 67922e61bfd6 usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c Thu Jun 20 15:25:28 2019 +0000
+++ b/usr.sbin/sysinst/disks.c Thu Jun 20 15:49:20 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disks.c,v 1.33 2019/06/20 00:43:55 christos Exp $ */
+/* $NetBSD: disks.c,v 1.34 2019/06/20 15:49:20 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1101,8 +1101,6 @@
make_target_dir("/");
snprintf(devdev, sizeof devdev, _PATH_DEV "%s", pm->diskdev);
- if (devdev == NULL)
- return (ENOMEM);
error = target_mount_do("-o async", devdev, "/");
if (error) {
msg_display_subst(MSG_mountfail, 2, devdev, "/");
Home |
Main Index |
Thread Index |
Old Index