diff options
Diffstat (limited to 'hald/solaris/probing/probe-snmp.c')
-rw-r--r-- | hald/solaris/probing/probe-snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hald/solaris/probing/probe-snmp.c b/hald/solaris/probing/probe-snmp.c index 6fb8bb72..0548aa24 100644 --- a/hald/solaris/probing/probe-snmp.c +++ b/hald/solaris/probing/probe-snmp.c @@ -40,7 +40,7 @@ hrDeviceDesc_to_info(char *string, char **manufacturer, char **model, *description = strdup(string); *manufacturer = strdup(string); if ((s = strchr(*manufacturer, ' ')) != NULL) { - *s++ = NULL; + *s++ = '\0'; *model = strdup(s); } } |