[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>
This commit is contained in:
Alexey Dobriyan 2006-03-24 03:15:55 -08:00 committed by Linus Torvalds
parent a4a6198b80
commit 66f9f59a5b

View File

@ -45,7 +45,7 @@ then
exit 1
fi
TMPFILE="/tmp/ikconfig-$$"
TMPFILE=`mktemp -t ikconfig-XXXXXX` || exit 1
image="$1"
# vmlinux: Attempt to dump the configuration from the file directly