diff options
| author | jfrank <none@none> | 2008-03-31 14:51:20 -0700 |
|---|---|---|
| committer | jfrank <none@none> | 2008-03-31 14:51:20 -0700 |
| commit | d19c75f6ecd0e3a96a6dd30da832ecf2c0a5489d (patch) | |
| tree | 2511cd8df40c25a0a455ca549c06948fcef524c4 /usr/src/cmd/picl | |
| parent | 179e09c28d9a9ee5276212d708bb711921c6234c (diff) | |
| download | illumos-joyent-d19c75f6ecd0e3a96a6dd30da832ecf2c0a5489d.tar.gz | |
6666687 picld core on snv_82
Diffstat (limited to 'usr/src/cmd/picl')
| -rw-r--r-- | usr/src/cmd/picl/plugins/sun4v/lib/snmp/snmplib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/picl/plugins/sun4v/lib/snmp/snmplib.c b/usr/src/cmd/picl/plugins/sun4v/lib/snmp/snmplib.c index 25504ad514..5a80081c02 100644 --- a/usr/src/cmd/picl/plugins/sun4v/lib/snmp/snmplib.c +++ b/usr/src/cmd/picl/plugins/sun4v/lib/snmp/snmplib.c @@ -334,6 +334,7 @@ snmp_get_str(picl_snmphdl_t hdl, char *prefix, int row, char **strp, if (smd == NULL || prefix == NULL || strp == NULL) return (-1); + *strp = NULL; /* * Check if this item is cacheable or not. If not, call * fetch_single_* to get it directly from the agent @@ -397,6 +398,7 @@ snmp_get_bitstr(picl_snmphdl_t hdl, char *prefix, int row, uchar_t **bitstrp, if (smd == NULL || prefix == NULL || bitstrp == NULL || nbytes == NULL) return (-1); + *bitstrp = NULL; /* * Check if this item is cacheable or not. If not, call * fetch_single_* to get it directly from the agent |
