diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-01-02 16:19:36 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-01-02 16:19:36 +0000 |
commit | 8fbb35a71dad0591c7815d721b184a02bbb65b6e (patch) | |
tree | 6cf7617106843b55bf40c58574b03f22be675643 /lib/libpthread/uthread/uthread_fpathconf.c | |
parent | acd2cb62699f195aed19fd71a8032746058b050e (diff) |
fpathconf(2) returns long.
Diffstat (limited to 'lib/libpthread/uthread/uthread_fpathconf.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_fpathconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_fpathconf.c b/lib/libpthread/uthread/uthread_fpathconf.c index 4ccd80ee81a..5c49b2b2063 100644 --- a/lib/libpthread/uthread/uthread_fpathconf.c +++ b/lib/libpthread/uthread/uthread_fpathconf.c @@ -1,7 +1,7 @@ /* * David Leonard <d@openbsd.org>, 1999. Public Domain. * - * $OpenBSD: uthread_fpathconf.c,v 1.1 1999/01/08 05:42:18 d Exp $ + * $OpenBSD: uthread_fpathconf.c,v 1.2 2002/01/02 16:19:35 fgsch Exp $ */ #include <unistd.h> @@ -12,7 +12,7 @@ long fpathconf(int fd, int name) { - int ret; + long ret; if ((ret = _FD_LOCK(fd, FD_READ, NULL)) == 0) { ret = _thread_sys_fpathconf(fd, name); |