summaryrefslogtreecommitdiff
path: root/app/xinit
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-28 20:22:11 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-28 20:22:11 +0000
commitf86a28a7a900230f979149fd8366ffa57c97484a (patch)
treeb93112abf8db026df02a8bf6311ea2b7bd6c569e /app/xinit
parent5ca3fe3dddeebd034a6340b4720150597409629a (diff)
revert previous. This is not the good place to patch.
Diffstat (limited to 'app/xinit')
-rw-r--r--app/xinit/startx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/xinit/startx.cpp b/app/xinit/startx.cpp
index c578d2ba4..a9b4199e7 100644
--- a/app/xinit/startx.cpp
+++ b/app/xinit/startx.cpp
@@ -188,7 +188,7 @@ authdisplay=${display:-:0}
#if defined(HAS_COOKIE_MAKER) && defined(MK_COOKIE)
mcookie=`MK_COOKIE`
#else
-mcookie=`dd if=/dev/arandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"`
+mcookie=`dd if=/dev/random bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"`
if test x"$mcookie" = x; then
echo "Couldn't create cookie"
exit 1