aboutsummaryrefslogtreecommitdiffstats
path: root/src/guid.c
diff options
context:
space:
mode:
authorjames <james>2007-10-16 10:20:57 +0000
committerjames <james>2007-10-16 10:20:57 +0000
commitff1332aecd61c8bc4a363caf9bf739fd67a03aa2 (patch)
tree5df07e0b0c605660f868460a9d55d73728946c9b /src/guid.c
parente9f42566d93f4ee49ccbccfd988aba5639fc0623 (diff)
downloadgpt-ff1332aecd61c8bc4a363caf9bf739fd67a03aa2.tar.gz
gpt-ff1332aecd61c8bc4a363caf9bf739fd67a03aa2.tar.bz2
gpt-ff1332aecd61c8bc4a363caf9bf739fd67a03aa2.zip
*** empty log message ***
Diffstat (limited to 'src/guid.c')
-rw-r--r--src/guid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guid.c b/src/guid.c
index 1cd4642..b7d73cc 100644
--- a/src/guid.c
+++ b/src/guid.c
@@ -134,7 +134,7 @@ guid_random (void)
{
GUID ret;
- int fd = open ("/dev/random", O_RDONLY);
+ int fd = open ("/dev/urandom", O_RDONLY);
read (fd, &ret, sizeof (ret));
close (fd);
return ret;