diff options
Diffstat (limited to 'linux/syslinux.c')
| -rw-r--r-- | linux/syslinux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/syslinux.c b/linux/syslinux.c index 7152d2bc..fa500cf7 100644 --- a/linux/syslinux.c +++ b/linux/syslinux.c @@ -344,7 +344,8 @@ int main(int argc, char *argv[]) Make a temp dir and pass all the gunky options to mount. */ if (chdir(_PATH_TMP)) { - perror(program); + fprintf(stderr, "%s: Cannot access the %s directory.\n", + program, _PATH_TMP); exit(1); } #define TMP_MODE (S_IXUSR|S_IWUSR|S_IXGRP|S_IWGRP|S_IWOTH|S_IXOTH|S_ISVTX) |
