summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-01-29 22:14:48 +0200
committerToomas Soome <tsoome@me.com>2020-03-20 09:07:52 +0200
commitf9c7ecc9013918bf789e154e2ed5f2e8fb6ce24c (patch)
treeda1e138c909234a2ad96cde80ce7a7c65e3618e9
parent528737823843346cf95a4a701612f82089135554 (diff)
downloadillumos-joyent-f9c7ecc9013918bf789e154e2ed5f2e8fb6ce24c.tar.gz
12320 librsc: NULL pointer errors
Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/lib/librsc/sparc/mpxu/common/librsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/librsc/sparc/mpxu/common/librsc.c b/usr/src/lib/librsc/sparc/mpxu/common/librsc.c
index c39719f473..37653bddd8 100644
--- a/usr/src/lib/librsc/sparc/mpxu/common/librsc.c
+++ b/usr/src/lib/librsc/sparc/mpxu/common/librsc.c
@@ -108,9 +108,9 @@ static const int rr_table_cnt = sizeof (rr_table) / sizeof (rr_table[0]);
static req_resp_table_t rr_bp_table[] = {
- { BP_OBP_BOOTINIT, NULL, sizeof (bp_msg_t),
+ { BP_OBP_BOOTINIT, 0, sizeof (bp_msg_t),
RR_BOOT_INIT_TIMEOUT },
- { BP_OBP_RESET, NULL, sizeof (bp_msg_t),
+ { BP_OBP_RESET, 0, sizeof (bp_msg_t),
RR_BOOT_RESET_TIMEOUT }
};