if (errno != ENOENT) {
fprintf(stderr,
"randpkt: Could not open " RANDOM_DEV " for reading: %s\n",
- strerror(errno));
+ g_strerror(errno));
exit(2);
}
goto fallback;
if (ret == -1) {
fprintf(stderr,
"randpkt: Could not read from " RANDOM_DEV ": %s\n",
- strerror(errno));
+ g_strerror(errno));
exit(2);
}
if ((size_t)ret != sizeof randomness) {