diff options
author | Tim Chase <[email protected]> | 2015-02-02 23:55:20 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-02-04 16:35:26 -0800 |
commit | aa2ef419e46b3ad7c2ad8848b7a308a5a949aba7 (patch) | |
tree | dbe5b450c269fd2d8bcdf6b052611fd80fca9b2d /cmd | |
parent | 037763e44e0f6d7284e9328db988a89fdc975a4e (diff) |
Spurious ENOMEM returns when reading dbufs kstat
Commit 7b2d78a046aa4695d434478a439a9438521d73af fixed some improper uses
of snprintf(), however, in __dbuf_stats_hash_table_data() the return
value of snprintf is propagated to the caller. This caused spurious
ENOMEM errors when reading the dbufs kstat.
This commit causes the actual number of characters written to be returned.
Signed-off-by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3072
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions