diff options
author | John Levon <john.levon@joyent.com> | 2019-05-15 11:39:37 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2019-05-15 11:39:49 +0000 |
commit | 6853053741569b9547e774ed1593c3a260801c7f (patch) | |
tree | 8d5b1ae81a9005a0bd1a63ec7926f56f546cea98 /usr/src/lib/varpd | |
parent | 6bb4da7d9bf3229c392786cff96466c702f9f70b (diff) | |
download | illumos-joyent-6853053741569b9547e774ed1593c3a260801c7f.tar.gz |
OS-7768 illumos-joyent needs smatch fixes
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
Diffstat (limited to 'usr/src/lib/varpd')
-rw-r--r-- | usr/src/lib/varpd/libvarpd/common/libvarpd_prop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/lib/varpd/libvarpd/common/libvarpd_prop.c b/usr/src/lib/varpd/libvarpd/common/libvarpd_prop.c index abe65a8c5d..f3a1492408 100644 --- a/usr/src/lib/varpd/libvarpd/common/libvarpd_prop.c +++ b/usr/src/lib/varpd/libvarpd/common/libvarpd_prop.c @@ -10,7 +10,7 @@ */ /* - * Copyright 2015 Joyent, Inc. + * Copyright 2019 Joyent, Inc. */ /* @@ -200,7 +200,8 @@ libvarpd_prop_info_fill_int(varpd_prop_handle_t *vph, uint_t propid) libvarpd_prop_set_prot(vph, OVERLAY_PROP_PERM_READ); libvarpd_prop_set_type(vph, OVERLAY_PROP_T_STRING); libvarpd_prop_set_nodefault(vph); - libvarpd_plugin_walk((varpd_handle_t *)infop->vprop_instance->vri_impl, + (void) libvarpd_plugin_walk( + (varpd_handle_t *)infop->vprop_instance->vri_impl, libvarpd_prop_info_fill_int_cb, vph); return (0); } |