aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mount_autofs.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mount_autofs.c')
-rw-r--r--modules/mount_autofs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mount_autofs.c b/modules/mount_autofs.c
index ed9f2e9..239fa73 100644
--- a/modules/mount_autofs.c
+++ b/modules/mount_autofs.c
@@ -76,7 +76,7 @@ int mount_mount(const char *root, const char *name, int name_len,
argv = (char **) alloca((argc+1) * sizeof(char *));
argc = 0;
- argv[argc++] = _PATH_AUTOMOUNT;
+ argv[argc++] = PATH_AUTOMOUNT;
argv[argc++] = "--submount";
argv[argc++] = fullpath;
argv[argc++] = strcpy(alloca(strlen(what)+1), what);
@@ -104,7 +104,7 @@ int mount_mount(const char *root, const char *name, int name_len,
goto error;
} else if ( slave == 0 ) {
/* Slave process */
- execv(_PATH_AUTOMOUNT, argv);
+ execv(PATH_AUTOMOUNT, argv);
_exit(255);
}