diff options
Diffstat (limited to 'usr/src/lib/libdladm/common/libdlsim.c')
-rw-r--r-- | usr/src/lib/libdladm/common/libdlsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libdladm/common/libdlsim.c b/usr/src/lib/libdladm/common/libdlsim.c index 7b8c515875..c4d52abe60 100644 --- a/usr/src/lib/libdladm/common/libdlsim.c +++ b/usr/src/lib/libdladm/common/libdlsim.c @@ -386,7 +386,7 @@ dladm_simnet_info(dladm_handle_t handle, datalink_id_t simnet_id, if (class != DATALINK_CLASS_SIMNET) return (DLADM_STATUS_BADARG); - bzero(attrp, sizeof (attrp)); + bzero(attrp, sizeof (*attrp)); attrp->sna_link_id = simnet_id; if (flags & DLADM_OPT_ACTIVE) { |