summaryrefslogtreecommitdiff
path: root/src/nohup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nohup.c')
-rw-r--r--src/nohup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nohup.c b/src/nohup.c
index 864196d17..b0617190f 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -27,8 +27,8 @@
#include "cloexec.h"
#include "error.h"
+#include "filenamecat.h"
#include "long-options.h"
-#include "path-concat.h"
#include "quote.h"
#include "unistd-safer.h"
@@ -114,7 +114,7 @@ main (int argc, char **argv)
char const *home = getenv ("HOME");
if (home)
{
- in_home = path_concat (home, file, NULL);
+ in_home = file_name_concat (home, file, NULL);
fd = open (in_home, flags, mode);
}
if (fd < 0)