From 8fbb35a71dad0591c7815d721b184a02bbb65b6e Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Wed, 2 Jan 2002 16:19:36 +0000 Subject: fpathconf(2) returns long. --- lib/libpthread/uthread/uthread_fpathconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libpthread/uthread/uthread_fpathconf.c') 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 , 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 @@ -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); -- cgit v1.2.3