summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_error.c
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2008-12-20 18:08:24 +0000
committerdsl <dsl@NetBSD.org>2008-12-20 18:08:24 +0000
commite06fc1c61ffe075afdcead5f7300485d00c26435 (patch)
tree4d414091553f3ee60c0df6745c67d01169345082 /sys/dev/dm/dm_target_error.c
parent0533dfcd70e1e612609aa89bc7c05bbc412c126e (diff)
A lot of code assumes that the pointer returned by Buf_GetAll() is malloced.
Replace Buf_Discard() with Buf_Empty() since the former might leave the 'outPtr != buffer' and the only caller wanted all the data discared. Remove 'outPtr' now that it always equals 'buffer'. The assumption about Buf_GetAll()is now guaranteed by design.
Diffstat (limited to 'sys/dev/dm/dm_target_error.c')
0 files changed, 0 insertions, 0 deletions