summaryrefslogtreecommitdiff
path: root/quotaio_generic.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-07-06 11:10:49 +0200
committerJan Kara <jack@suse.cz>2016-07-06 11:10:49 +0200
commit2432de0526c282f05010cfa432059cbc9e794259 (patch)
treeb25d01c501ec7a434f8e8be7edbd999bd2a2bd1b /quotaio_generic.c
parent7e2dc84c72231bb78a5999a6ccd1da632f09fc1f (diff)
quotacheck: Fix buggy error check of read(2)
'rd' was declared as size_t which is unsigned so it could never be less than 0. Fix it by declaring 'rd' as ssize_t which is the real read(2) return type. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quotaio_generic.c')
0 files changed, 0 insertions, 0 deletions