Whamcloud - gitweb
e2fuzz: fix build problems on macosx and i386 linux
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 10 Aug 2014 22:21:14 +0000 (18:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 10 Aug 2014 22:21:14 +0000 (18:21 -0400)
commit0165cfadfaf3286072dc635100b2e9bbfdcad137
tree991e0ebe8d322645ed839330602d36c75092025d
parent489ff4a2c7acfe4bbfdf14a68a674933a54e1632
e2fuzz: fix build problems on macosx and i386 linux

Fix clang warnings about forgotten header files, dead code, and pwrite
support on OS X.  The unistd.h inclusion also fixes a parameter
truncation bug on i386.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2fuzz.c