Skip to content

Commit

Permalink
make error message more friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Oct 5, 2000
1 parent d6fe23b commit 93fbb3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kame/kame/racoon/random.c
@@ -1,4 +1,4 @@
/* $KAME: random.c,v 1.2 2000/10/05 06:34:56 itojun Exp $ */
/* $KAME: random.c,v 1.3 2000/10/05 06:46:31 itojun Exp $ */

/*
* Copyright (C) 2000 WIDE Project.
Expand Down Expand Up @@ -49,7 +49,7 @@ random_init()
{
fd = open("/dev/urandom", O_RDONLY, 0600);
if (fd < 0) {
err(1, "open");
err(1, "/dev/urandom");
/*NOTREACHED*/
}
}
Expand Down

0 comments on commit 93fbb3a

Please sign in to comment.