mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-24 18:39:34 +03:00
fm_fmri_hc_create() must call va_end() before returning
clang-tidy caught this. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Closes #14044
This commit is contained in:
parent
aa822e4d9c
commit
711b35dc24
@ -955,6 +955,7 @@ fm_fmri_hc_create(nvlist_t *fmri, int version, const nvlist_t *auth,
|
||||
}
|
||||
atomic_inc_64(
|
||||
&erpt_kstat_data.fmri_set_failed.value.ui64);
|
||||
va_end(ap);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user