Patch from vodz:
[oweals/busybox.git] / libbb / xreadlink.c
index 932e487a59d718093cb29f9d4967d8dc504772e8..b8cfe617a960f92d142cdd8f4f755df72d4885ff 100644 (file)
@@ -24,7 +24,7 @@ extern char *xreadlink(const char *path)
                buf = xrealloc(buf, bufsize += GROWBY);
                readsize = readlink(path, buf, bufsize); /* 1st try */
                if (readsize == -1) {
-                   perror_msg("%s:%s", applet_name, path);
+                   bb_perror_msg("%s", path);
                    return NULL;
                }
        }           
@@ -34,4 +34,3 @@ extern char *xreadlink(const char *path)
 
        return buf;
 }       
-