search for: _path_tmp

Displaying 1 result from an estimated 1 matches for "_path_tmp".

Did you mean: _path_btmp
2010 Jun 21
0
would like more detail when /tmp directory is missing. patch for linux/syslinux.c
...Below is the output of diff -up Thanks! George --- linux/syslinux.c.orig 2010-06-21 15:04:49.000000000 -0600 +++ linux/syslinux.c 2010-06-21 15:58:05.000000000 -0600 @@ -421,7 +421,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)