summaryrefslogtreecommitdiffstats
path: root/cddl/compat
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-07-04 17:36:26 +0000
committerpjd <pjd@FreeBSD.org>2012-07-04 17:36:26 +0000
commit5caca3f8a797ab4d5459f5146750fd748c21d367 (patch)
treea90c37e5a9498a162cd885d12a3295b7c0c785e3 /cddl/compat
parentd4c2b884b40c5aaba808cbe2a491c74cc7ea65b2 (diff)
downloadFreeBSD-src-5caca3f8a797ab4d5459f5146750fd748c21d367.zip
FreeBSD-src-5caca3f8a797ab4d5459f5146750fd748c21d367.tar.gz
Fix an obvious typo.
MFC after: 3 days
Diffstat (limited to 'cddl/compat')
-rw-r--r--cddl/compat/opensolaris/misc/deviceid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/compat/opensolaris/misc/deviceid.c b/cddl/compat/opensolaris/misc/deviceid.c
index e67d94a..9f3ea84 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);
}
OpenPOWER on IntegriCloud