aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-08-13 07:19:33 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-08-13 07:19:33 +0000
commit61189f19de6175e82cdb43c2ff5ed50f953ba3fa (patch)
tree1662d4dd25f888a2fe0fa3929aea79e25a189ea7
parentee47ad3213f131d67c36a089a2be83016696882f (diff)
downloadnewlib-61189f19de6175e82cdb43c2ff5ed50f953ba3fa.zip
newlib-61189f19de6175e82cdb43c2ff5ed50f953ba3fa.tar.gz
newlib-61189f19de6175e82cdb43c2ff5ed50f953ba3fa.tar.bz2
* libc/stdio/mktemp.c (mkdtemp): Fix type in function name.
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/stdio/mktemp.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index dd3c66c..c75cd80 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,4 +1,8 @@
-2009=08-12 Jeff Johnston <jjohnstn@redhat.com>
+2009-08-13 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/stdio/mktemp.c (mkdtemp): Fix type in function name.
+
+2009-08-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless
HAVE_MKDIR is defined.
diff --git a/newlib/libc/stdio/mktemp.c b/newlib/libc/stdio/mktemp.c
index 185d9df..25e8a01 100644
--- a/newlib/libc/stdio/mktemp.c
+++ b/newlib/libc/stdio/mktemp.c
@@ -301,7 +301,7 @@ _DEFUN(mkstemp, (path),
# if !defined _ELIX_LEVEL || _ELIX_LEVEL >= 4
char *
-_DEFUN(mkdemp, (path),
+_DEFUN(mkdtemp, (path),
char *path)
{
return (_gettemp (_REENT, path, (int *) NULL, 1, 0) ? path : NULL);