New module 'mkostemp'.
[gnulib.git] / lib / mkdtemp.c
index 6b9dd15..b5181d1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2001-2003, 2006-2007 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2001-2003, 2006-2007, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    This program is free software: you can redistribute it and/or modify
@@ -31,7 +31,7 @@
 char *
 mkdtemp (char *template)
 {
-  if (gen_tempname (template, GT_DIR))
+  if (gen_tempname (template, 0, GT_DIR))
     return NULL;
   else
     return template;