]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
Fix posix_memalign and posix_fadvise calls.
authorTheodore Ts'o <tytso@mit.edu>
Fri, 7 Jun 2019 17:07:12 +0000 (13:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 7 Jun 2019 17:07:12 +0000 (13:07 -0400)
commitc2eedf431e13c8bbdfc5bb81e8fec912fdf643cb
tree6e4243477fed77bbac22e5d978c2121c0062e118
parent6ec2060a291b873ba120aa7cda940c6604eac550
Fix posix_memalign and posix_fadvise calls.

Almost all posix_ functions return a positive errno value (without
setting errno) rather than -1 and setting errno. Most calls in this
project were correct, but these two weren't.

Reported-by: Hughes <enh@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/badblocks.c
misc/e4defrag.c