aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2012-07-04 17:36:26 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2012-07-04 17:36:26 +0000
commita905af7e2d14863a60262cb433a99b49fb8df8c5 (patch)
treea90c37e5a9498a162cd885d12a3295b7c0c785e3
parent988a521bf06a348bee36a079ba2522653d17d59a (diff)
downloadsrc-a905af7e2d14863a60262cb433a99b49fb8df8c5.tar.gz
src-a905af7e2d14863a60262cb433a99b49fb8df8c5.zip
Fix an obvious typo.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=238112
-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 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);
}