From 5caca3f8a797ab4d5459f5146750fd748c21d367 Mon Sep 17 00:00:00 2001 From: pjd Date: Wed, 4 Jul 2012 17:36:26 +0000 Subject: [PATCH] Fix an obvious typo. MFC after: 3 days --- cddl/compat/opensolaris/misc/deviceid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cddl/compat/opensolaris/misc/deviceid.c b/cddl/compat/opensolaris/misc/deviceid.c index e67d94aad506..9f3ea8458b3b 100644 --- a/cddl/compat/opensolaris/misc/deviceid.c +++ b/cddl/compat/opensolaris/misc/deviceid.c @@ -45,7 +45,7 @@ devid_str_decode(char *devidstr, ddi_devid_t *retdevid, char **retminor_name) return (EINVAL); } *retminor_name = strdup(""); - if (*retminor_name == NULL); + if (*retminor_name == NULL) return (ENOMEM); return (0); }