projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix warnings when compiled against newer versions of glibc.
[xfstests-dev.git]
/
src
/
alloc.c
diff --git
a/src/alloc.c
b/src/alloc.c
index dce16d356479b660e0ee27f2c2821c5e2130efb6..72830a7072d0cd3a216e741ee6f99f28a2bd849d 100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-166,7
+166,7
@@
main(int argc, char **argv)
if (!filename) {
static char tmpfile[] = "allocXXXXXX";
- mktemp(tmpfile);
+ mk
s
temp(tmpfile);
filename = malloc(strlen(tmpfile) + strlen(dirname) + 2);
sprintf(filename, "%s/%s", dirname, tmpfile);
unlinkit = 1;