print who the message is from.
This commit is contained in:
parent
73ee8b8b99
commit
51596bc608
|
@ -131,7 +131,7 @@ PUBLIC void main()
|
||||||
timerand= 0;
|
timerand= 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("unable to read random data from %s: %s\n",
|
printf("inet: unable to read random data from %s: %s\n",
|
||||||
RANDOM_DEV_NAME, r == -1 ? strerror(errno) :
|
RANDOM_DEV_NAME, r == -1 ? strerror(errno) :
|
||||||
r == 0 ? "EOF" : "not enough data");
|
r == 0 ? "EOF" : "not enough data");
|
||||||
}
|
}
|
||||||
|
@ -139,12 +139,12 @@ PUBLIC void main()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("unable to open random device %s: %s\n",
|
printf("inet: unable to open random device %s: %s\n",
|
||||||
RANDOM_DEV_NAME, strerror(errno));
|
RANDOM_DEV_NAME, strerror(errno));
|
||||||
}
|
}
|
||||||
if (timerand)
|
if (timerand)
|
||||||
{
|
{
|
||||||
printf("using current time for random-number seed\n");
|
printf("inet: using current time for random-number seed\n");
|
||||||
#ifdef __minix_vmd
|
#ifdef __minix_vmd
|
||||||
r= sysutime(UTIME_TIMEOFDAY, &tv);
|
r= sysutime(UTIME_TIMEOFDAY, &tv);
|
||||||
#else /* Minix 3 */
|
#else /* Minix 3 */
|
||||||
|
|
Loading…
Reference in a new issue