Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-16067 misc: cleanup compiler warnings
[tools/e2fsprogs.git]
/
lib
/
e2p
/
fgetflags.c
diff --git
a/lib/e2p/fgetflags.c
b/lib/e2p/fgetflags.c
index
0f1a059
..
93e130c
100644
(file)
--- a/
lib/e2p/fgetflags.c
+++ b/
lib/e2p/fgetflags.c
@@
-50,8
+50,8
@@
int fgetflags (const char * name, unsigned long * flags)
{
- struct stat buf;
#if HAVE_STAT_FLAGS && !(APPLE_DARWIN && HAVE_EXT2_IOCTLS)
+ struct stat buf;
if (stat (name, &buf) == -1)
return -1;