diff options
author | Toomas Soome <tsoome@me.com> | 2019-01-19 17:52:04 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-04-22 23:05:31 +0300 |
commit | dd26c2a4ed479de9278176640c3799952ea71ae2 (patch) | |
tree | b2515426bbc3b452891fb34eb34d628df5a4b604 /usr | |
parent | 11b5d82fcd2fe348d89f47fa6e7abbcd64f9948b (diff) | |
download | illumos-joyent-dd26c2a4ed479de9278176640c3799952ea71ae2.tar.gz |
10719 eibnx: NULL pointer errors
Reviewed by: John Levon <john.levon@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/uts/common/io/ib/clients/eoib/enx_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ib/clients/eoib/enx_misc.c b/usr/src/uts/common/io/ib/clients/eoib/enx_misc.c index a79cdb084f..a465dd3dce 100644 --- a/usr/src/uts/common/io/ib/clients/eoib/enx_misc.c +++ b/usr/src/uts/common/io/ib/clients/eoib/enx_misc.c @@ -616,7 +616,7 @@ eibnx_make_nodename(eibnx_thr_info_t *info, uint16_t gw_portid) { char *name; - if (info->ti_ident[0] == NULL) + if (info->ti_ident[0] == '\0') return (NULL); name = kmem_zalloc(MAXNAMELEN, KM_SLEEP); |