aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mount_autofs.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-03-29 10:26:20 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-03-29 10:26:20 +0000
commite1dbb9fe60aa8bf48b07ce2896838f76cc98e226 (patch)
tree87f278ba5cb3d2738aa2061a17a01a18474dfe7e /modules/mount_autofs.c
parent43d9d88fd0160c7beecba8b78227cc7247e8d6e9 (diff)
downloadautofs3-e1dbb9fe60aa8bf48b07ce2896838f76cc98e226.tar.gz
autofs3-e1dbb9fe60aa8bf48b07ce2896838f76cc98e226.tar.xz
autofs3-e1dbb9fe60aa8bf48b07ce2896838f76cc98e226.zip
Make autofs self-configuring (using autoconf)
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);
}