diff options
Diffstat (limited to 'readlink.c')
-rw-r--r-- | readlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ int readlink_main(int argc, char **argv) buf = xrealloc(buf, bufsize); size = readlink(argv[1], buf, bufsize); if (size == -1) - error_msg_and_die("%s: %s\n", argv[1], strerror(errno)); + perror_msg_and_die("%s", argv[1]); } buf[size] = '\0'; |