Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/lib/libzfs PR/46660: Henning Petersen: F...



details:   https://anonhg.NetBSD.org/src/rev/33e0f26fc9e0
branches:  trunk
changeset: 780000:33e0f26fc9e0
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 05 13:55:58 2012 +0000

description:
PR/46660: Henning Petersen: Fix typo in deviceid.c

diffstat:

 external/cddl/osnet/lib/libzfs/deviceid.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1e24aef0bef8 -r 33e0f26fc9e0 external/cddl/osnet/lib/libzfs/deviceid.c
--- a/external/cddl/osnet/lib/libzfs/deviceid.c Thu Jul 05 12:53:22 2012 +0000
+++ b/external/cddl/osnet/lib/libzfs/deviceid.c Thu Jul 05 13:55:58 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: deviceid.c,v 1.1 2009/08/07 20:57:56 haad Exp $        */
+/*     $NetBSD: deviceid.c,v 1.2 2012/07/05 13:55:58 christos Exp $    */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
 
 #include <sys/cdefs.h>
 /* __FBSDID("$FreeBSD: src/compat/opensolaris/misc/deviceid.c,v 1.1 2007/05/06 01:39:38 pjd Exp $"); */
-__RCSID("$NetBSD: deviceid.c,v 1.1 2009/08/07 20:57:56 haad Exp $");
+__RCSID("$NetBSD: deviceid.c,v 1.2 2012/07/05 13:55:58 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/ioctl.h>
@@ -78,7 +78,7 @@
                return (EINVAL);
        }
        *retminor_name = strdup("");
-       if (*retminor_name == NULL);
+       if (*retminor_name == NULL)
                return (ENOMEM);
        return (0);
 }



Home | Main Index | Thread Index | Old Index