ignore-value: make ignore_value more generic; deprecate ignore_ptr
[pspp] / lib / fsync.c
index 4a0fe0f94c73507948be8437e4311ea7ba51829d..8dea41ab82b6e7916d4fcbf446d7fdb43eca6046 100644 (file)
@@ -7,7 +7,7 @@
 
    Written by Richard W.M. Jones <rjones.at.redhat.com>
 
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2011 Free Software Foundation, Inc.
 
    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -56,15 +56,15 @@ fsync (int fd)
        */
       err = GetLastError ();
       switch (err)
-       {
-         /* eg. Trying to fsync a tty. */
-       case ERROR_INVALID_HANDLE:
-         errno = EINVAL;
-         break;
-
-       default:
-         errno = EIO;
-       }
+        {
+          /* eg. Trying to fsync a tty. */
+        case ERROR_INVALID_HANDLE:
+          errno = EINVAL;
+          break;
+
+        default:
+          errno = EIO;
+        }
       return -1;
     }