Replace all strerror() with g_strerror().
[obnox/wireshark/wip.git] / randpkt.c
index 173fa0db1ef5a49823150ad4197ffaf917dc2bcb..c1f58f0bf53d9af3343f9c34551c6afeb33111c4 100644 (file)
--- a/randpkt.c
+++ b/randpkt.c
@@ -711,7 +711,7 @@ seed(void)
                if (errno != ENOENT) {
                        fprintf(stderr,
                            "randpkt: Could not open " RANDOM_DEV " for reading: %s\n",
-                           strerror(errno));
+                           g_strerror(errno));
                        exit(2);
                }
                goto fallback;
@@ -721,7 +721,7 @@ seed(void)
        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) {