svn commit: r238112 - head/cddl/compat/opensolaris/misc

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Jul 4 17:36:26 UTC 2012


Author: pjd
Date: Wed Jul  4 17:36:26 2012
New Revision: 238112
URL: http://svn.freebsd.org/changeset/base/238112

Log:
  Fix an obvious typo.
  
  MFC after:	3 days

Modified:
  head/cddl/compat/opensolaris/misc/deviceid.c

Modified: head/cddl/compat/opensolaris/misc/deviceid.c
==============================================================================
--- head/cddl/compat/opensolaris/misc/deviceid.c	Wed Jul  4 17:35:07 2012	(r238111)
+++ head/cddl/compat/opensolaris/misc/deviceid.c	Wed Jul  4 17:36:26 2012	(r238112)
@@ -45,7 +45,7 @@ devid_str_decode(char *devidstr, ddi_dev
 		return (EINVAL);
 	}
 	*retminor_name = strdup("");
-	if (*retminor_name == NULL);
+	if (*retminor_name == NULL)
 		return (ENOMEM);
 	return (0);
 }


More information about the svn-src-all mailing list