diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-02-24 16:21:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-02-24 16:21:19 +0100 |
commit | 10f4ddc9a5e28b33ad2bffe6cd3e4aaab920f872 (patch) | |
tree | 16559587e50c285945f22c9307d8ee51c81304b5 | |
parent | 63b0ce97ba0f71c28a7880c741100b0240332e74 (diff) |
Declaration of stat shadows a global declaration
Change-Id: I154ba64ff61d08d7a600a83eb7dd41381aca73ca
-rw-r--r-- | odk/source/unoapploader/unx/unoapploader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/source/unoapploader/unx/unoapploader.c b/odk/source/unoapploader/unx/unoapploader.c index 15d5aafdc5bc..f1caf064fd96 100644 --- a/odk/source/unoapploader/unx/unoapploader.c +++ b/odk/source/unoapploader/unx/unoapploader.c @@ -88,7 +88,7 @@ int main( int argc, char *argv[] ) int size; size_t pathlen = strlen(path); - struct stat stat; + struct stat stats; int ret; static char const unoinfoSuffix[] = "/unoinfo"; @@ -103,7 +103,7 @@ int main( int argc, char *argv[] ) strcpy( unoinfo + pathlen, unoinfoSuffix + (pathlen == 0 || path[pathlen - 1] != '/' ? 0 : 1)); - ret = lstat(unoinfo, &stat); + ret = lstat(unoinfo, &stats); free(unoinfo); if (ret == 0) { |