summaryrefslogtreecommitdiff
path: root/hald/solaris/probing/probe-snmp.c
diff options
context:
space:
mode:
authorAndrew Stormont <andyjstormont@googlemail.com>2011-06-13 22:27:38 +0100
committerAndrew Stormont <andyjstormont@googlemail.com>2011-06-13 22:27:38 +0100
commitb404105b6f44ed2180fae8c172b15fd1787b72a9 (patch)
tree8ffea7d15342a083503e4f1bca4463337714d1d5 /hald/solaris/probing/probe-snmp.c
parentecb86f4d5b6d0354d8fac639755464c6c3706e6d (diff)
downloadhal-master.tar.gz
Fix warnings when building on SolarisHEADmaster
Diffstat (limited to 'hald/solaris/probing/probe-snmp.c')
-rw-r--r--hald/solaris/probing/probe-snmp.c2
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);
}
}