summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTim Chase <[email protected]>2015-02-02 23:55:20 -0600
committerBrian Behlendorf <[email protected]>2015-02-04 16:35:26 -0800
commitaa2ef419e46b3ad7c2ad8848b7a308a5a949aba7 (patch)
treedbe5b450c269fd2d8bcdf6b052611fd80fca9b2d /lib
parent037763e44e0f6d7284e9328db988a89fdc975a4e (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 'lib')
0 files changed, 0 insertions, 0 deletions