Module Name:    src
Committed By:   christos
Date:           Thu Jun 20 15:49:21 UTC 2019

Modified Files:
        src/usr.sbin/sysinst: disks.c

Log Message:
devdev is an array, remove NULL check (rin)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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.33 src/usr.sbin/sysinst/disks.c:1.34
--- src/usr.sbin/sysinst/disks.c:1.33	Wed Jun 19 20:43:55 2019
+++ src/usr.sbin/sysinst/disks.c	Thu Jun 20 11:49:20 2019
@@ -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_filesystems(struct install_partitio
 		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, "/");

Reply via email to