INSTALL: Explain how to update the library cache on MacOS.
[osl.git] / fsck.c
diff --git a/fsck.c b/fsck.c
index 3ad043b94e9bca2cddd8b4c4fd79e85e5906b182..9701f277a60f6bd503e7600489d4b90b10779704 100644 (file)
--- a/fsck.c
+++ b/fsck.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2009 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -23,7 +23,7 @@
        "This is free software with ABSOLUTELY NO WARRANTY." \
        " See COPYING for details.\n" \
        "Written by Andre Noll.\n" \
-       "Report bugs to <maan@systemlinux.org>.\n"
+       "Report bugs to <maan@tuebingen.mpg.de>.\n"
 
 /** print out \p VERSION_TEXT and exit if version flag was given */
 #define HANDLE_VERSION_FLAG(_prefix, _args_info_struct) \
@@ -279,9 +279,10 @@ static int fsck_opendir(const char *dirname, DIR **dir, int *cwd)
        if (*dir)
                return 1;
        ret = errno == EACCES? -E_FSCK_ACCESS : -E_FSCK_OPENDIR;
-/* Ignore return value of fchdir() and close(). We're busted anyway. */
-       if (cwd)
-               fchdir(*cwd);
+       /* Ignore return value of fchdir() and close(). We're busted anyway. */
+       if (cwd) {
+               int __a_unused ret2 = fchdir(*cwd); /* STFU, gcc */
+       }
 close_cwd:
        if (cwd)
                close(*cwd);