--- icmpush-2.2.orig/parser.c
+++ icmpush-2.2/parser.c
@@ -296,7 +296,7 @@
             add_router( packet, router_addr, preference );
          }
          else
-            fprintf(stderr, "strtok() error -> %s\n", sys_errlist[errno]);         
+            fprintf(stderr, "strtok() error -> %s\n", strerror(errno));         
          args++;
          continue;
       }
@@ -513,7 +513,7 @@
       init->router = (struct router *)malloc(sizeof(struct router));
       if ( init->router == NULL )
       {
-         fprintf(stderr, "Malloc error -> %s\n", sys_errlist[errno]);
+         fprintf(stderr, "Malloc error -> %s\n", strerror(errno));
          exit(0);
       }
       init->num_routers++;
@@ -537,7 +537,7 @@
          cursor->next = (struct router *)malloc(sizeof(struct router));
          if (!cursor)
          {
-            fprintf(stderr, "Malloc error -> %s\n", sys_errlist[errno]);
+            fprintf(stderr, "Malloc error -> %s\n", strerror(errno));
             return;
          }
          init->num_routers++;
