From 1f020b178664857b0e107778d04fb971a58e6230 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 23 Jul 2008 11:23:36 +0000 Subject: - trim any trailing whitespace --- libc/unistd/fpathconf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/unistd/fpathconf.c') diff --git a/libc/unistd/fpathconf.c b/libc/unistd/fpathconf.c index 96bc62199..d7378630d 100644 --- a/libc/unistd/fpathconf.c +++ b/libc/unistd/fpathconf.c @@ -54,12 +54,12 @@ libc_hidden_proto(__libc_fstatfs) /* Get file-specific information about descriptor FD. */ long int fpathconf(int fd, int name) -{ +{ if (fd < 0) { __set_errno (EBADF); return -1; - } + } if (name == _PC_LINK_MAX) { @@ -211,7 +211,7 @@ long int fpathconf(int fd, int name) #endif case _PC_ASYNC_IO: -#if defined _POSIX_ASYNC_IO && defined __UCLIBC_HAS_LFS__ +#if defined _POSIX_ASYNC_IO && defined __UCLIBC_HAS_LFS__ { /* AIO is only allowed on regular files and block devices. */ struct stat st; -- cgit v1.2.3