Apply vodz' last_patch52
[oweals/busybox.git] / libbb / xreadlink.c
index 932e487a59d718093cb29f9d4967d8dc504772e8..9944b5129409f673b15ecb90372e3ceda6fa6364 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);
+                   perror_msg("%s", path);
                    return NULL;
                }
        }           
@@ -34,4 +34,3 @@ extern char *xreadlink(const char *path)
 
        return buf;
 }       
-