diff options
author | Peter Galbavy <peter@cvs.openbsd.org> | 1998-07-21 13:54:06 +0000 |
---|---|---|
committer | Peter Galbavy <peter@cvs.openbsd.org> | 1998-07-21 13:54:06 +0000 |
commit | 2979ca23937f55308c22a0cf2acb66a4525843c0 (patch) | |
tree | 028173e908f14aa9b6c604cbab6f002858dbe4c4 /lib/libpthread/stdio/scanf.c | |
parent | 0294ed9251849ce79ab3d4cc45841a9f6de82844 (diff) |
fix up those 13 broken merges
Diffstat (limited to 'lib/libpthread/stdio/scanf.c')
-rw-r--r-- | lib/libpthread/stdio/scanf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/stdio/scanf.c b/lib/libpthread/stdio/scanf.c index adaa4a0a78a..6d023a4bba2 100644 --- a/lib/libpthread/stdio/scanf.c +++ b/lib/libpthread/stdio/scanf.c @@ -1,5 +1,6 @@ /*- * Copyright (c) 1990 The Regents of the University of California. + * Copyright (c) 1993, 1994 Chris Provenzano. * All rights reserved. * * This code is derived from software contributed to Berkeley by @@ -36,7 +37,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)scanf.c 5.3 (Berkeley) 1/20/91";*/ -static char *rcsid = "$Id: scanf.c,v 1.2 1997/07/25 20:30:23 mickey Exp $"; +static char *rcsid = "$Id: scanf.c,v 1.3 1998/07/21 13:53:59 peter Exp $"; #endif /* LIBC_SCCS and not lint */ #include <pthread.h> @@ -65,7 +66,7 @@ scanf(fmt, va_alist) #endif flockfile(stdin); ret = __svfscanf(stdin, fmt, ap); - flockfile(stdin); + funlockfile(stdin); va_end(ap); return (ret); } |