Fix an obvious typo.

MFC after:	3 days
This commit is contained in:
pjd 2012-07-04 17:36:26 +00:00
parent d4c2b884b4
commit 5caca3f8a7

View File

@ -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);
}