aboutsummaryrefslogtreecommitdiff
path: root/libio/oldtmpfile.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-06 20:10:29 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-06 20:10:29 +0000
commita381d207f5ffe5d7816ebaeec862ed0904f1a082 (patch)
treea1275ef3e04f6ea5630aceb85ea28999ef4fa01f /libio/oldtmpfile.c
parent2e65ca2b226a55e7d25ef687ce33185c0a71bd99 (diff)
downloadglibc-a381d207f5ffe5d7816ebaeec862ed0904f1a082.tar
glibc-a381d207f5ffe5d7816ebaeec862ed0904f1a082.tar.gz
glibc-a381d207f5ffe5d7816ebaeec862ed0904f1a082.tar.bz2
glibc-a381d207f5ffe5d7816ebaeec862ed0904f1a082.zip
Update.
* libio/oldtmpfile.c: Adjust call of __gen_tempname to match new convention.
Diffstat (limited to 'libio/oldtmpfile.c')
-rw-r--r--libio/oldtmpfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/oldtmpfile.c b/libio/oldtmpfile.c
index 40395bf9c2..002fad07a5 100644
--- a/libio/oldtmpfile.c
+++ b/libio/oldtmpfile.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 93, 96, 97, 98, 99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -34,7 +34,7 @@ __old_tmpfile (void)
if (__path_search (buf, FILENAME_MAX, NULL, "tmpf", 0))
return NULL;
- fd = __gen_tempname (buf, 1, 0);
+ fd = __gen_tempname (buf, __GT_FILE);
if (fd < 0)
return NULL;