X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffsync.c;h=9ecf257175b37dfee1fd7ce885f6f6cae03bcd07;hb=11b16d3cdc4646f80822751dc6882b21c9da2a22;hp=4a0fe0f94c73507948be8437e4311ea7ba51829d;hpb=9d7e96c82c2a70aa5a32d07b76cdd94f0f0e4388;p=gnulib.git diff --git a/lib/fsync.c b/lib/fsync.c index 4a0fe0f94..9ecf25717 100644 --- a/lib/fsync.c +++ b/lib/fsync.c @@ -7,7 +7,7 @@ Written by Richard W.M. Jones - Copyright (C) 2008 Free Software Foundation, Inc. + Copyright (C) 2008-2010 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; }