summaryrefslogtreecommitdiff
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-07-25 20:24:13 (GMT)
committer Ricardo Cerqueira <cyanogenmod@cerqueira.org>2013-07-25 20:24:13 (GMT)
commita9a9b985f0768c47d12869257d56341abb182e54 (patch)
tree7e266db866a851899d3f75001310fd481ae1e770
parent7b91e6a8b92b504af72224344c5ef7f587562c62 (diff)
downloadbusybox-a9a9b985f0768c47d12869257d56341abb182e54.zip
busybox-a9a9b985f0768c47d12869257d56341abb182e54.tar.gz
busybox-a9a9b985f0768c47d12869257d56341abb182e54.tar.bz2
mktemp: switch to mkstemp
The compiler warning was breaking the build due to Werror, and it's an easy fix Change-Id: Ic109aa017c02596e9cf0aae3c6f82d72849b90cf
Diffstat
-rw-r--r--debianutils/mktemp.c2
-rw-r--r--include-full/autoconf.h2
-rw-r--r--include-minimal/autoconf.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/debianutils/mktemp.c b/debianutils/mktemp.c
index 983d7a2..92b8790 100644
--- a/debianutils/mktemp.c
+++ b/debianutils/mktemp.c
@@ -93,7 +93,7 @@ int mktemp_main(int argc UNUSED_PARAM, char **argv)
chp = concat_path_file(path, chp);
if (opts & OPT_u) {
- chp = mktemp(chp);
+ chp = mkstemp(chp);
if (chp[0] == '\0')
goto error;
} else if (opts & OPT_d) {
diff --git a/include-full/autoconf.h b/include-full/autoconf.h
index 1a9a19e..4196bb0 100644
--- a/include-full/autoconf.h
+++ b/include-full/autoconf.h
@@ -2,7 +2,7 @@
* Automatically generated C config: don't edit
* Busybox version: 1.21.1-jb
*/
-#define AUTOCONF_TIMESTAMP "2013-07-25 21:21 +0100"
+#define AUTOCONF_TIMESTAMP "2013-07-25 21:23 +0100"
#define CONFIG_HAVE_DOT_CONFIG 1
#define ENABLE_HAVE_DOT_CONFIG 1
diff --git a/include-minimal/autoconf.h b/include-minimal/autoconf.h
index fb2c8f9..f80f6f6 100644
--- a/include-minimal/autoconf.h
+++ b/include-minimal/autoconf.h
@@ -2,7 +2,7 @@
* Automatically generated C config: don't edit
* Busybox version: 1.21.1-jb
*/
-#define AUTOCONF_TIMESTAMP "2013-07-25 21:21 +0100"
+#define AUTOCONF_TIMESTAMP "2013-07-25 21:23 +0100"
#define CONFIG_HAVE_DOT_CONFIG 1
#define ENABLE_HAVE_DOT_CONFIG 1