Whamcloud - gitweb
resize2fs: Print a warning message if the ftruncate system call fails
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 Apr 2009 19:10:36 +0000 (15:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Apr 2009 19:10:36 +0000 (15:10 -0400)
commitfb72556af88bf01459519d1028743c54a71bcca1
treeab31b6c12a2d9ee8e98a710910d51064a76cc3da
parentb0258cbcd89862b927707258c67f2eeac769adc2
resize2fs: Print a warning message if the ftruncate system call fails

Resize2fs will attempt to truncate an image file of a filesystem down
to size for the convenience of the system administrator.  If the
truncate operation fails, print a warning message.  This also avoids a
gcc warning message.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
resize/main.c