Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 66f9f59

Browse files
Alexey DobriyanLinus Torvalds
authored andcommitted
[PATCH] extract-ikconfig: use mktemp(1)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent a4a6198 commit 66f9f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/extract-ikconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ then
4545
exit 1
4646
fi
4747

48-
TMPFILE="/tmp/ikconfig-$$"
48+
TMPFILE=`mktemp -t ikconfig-XXXXXX` || exit 1
4949
image="$1"
5050

5151
# vmlinux: Attempt to dump the configuration from the file directly

0 commit comments

Comments
 (0)