aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/automount.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/automount.c')
-rw-r--r--daemon/automount.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/automount.c b/daemon/automount.c
index f51b8dc..35b53ea 100644
--- a/daemon/automount.c
+++ b/daemon/automount.c
@@ -87,8 +87,8 @@ static int umount_ent(char *root, char *name)
if ( !lstat(path_buf,&st) ) {
if ( S_ISDIR(st.st_mode) ) {
if ( st.st_dev != ap.dev ) {
- rv = spawnl(LOG_NOTICE, _PATH_UMOUNT,
- _PATH_UMOUNT, path_buf, NULL);
+ rv = spawnl(LOG_DEBUG, PATH_UMOUNT,
+ PATH_UMOUNT, path_buf, NULL);
if ( !rv )
rmdir(path_buf);
} else
@@ -146,7 +146,7 @@ static int do_umount_autofs(void)
}
if (ap.pipefd >= 0)
close(ap.pipefd);
- rv = spawnl(LOG_ERR, _PATH_UMOUNT, _PATH_UMOUNT, ap.path, NULL);
+ rv = spawnl(LOG_ERR, PATH_UMOUNT, PATH_UMOUNT, ap.path, NULL);
if (rv == 0 && submount)
rmdir(ap.path);
@@ -240,7 +240,7 @@ static int mount_autofs(char *path)
(unsigned)my_pgrp, AUTOFS_PROTO_VERSION);
sprintf(our_name, "automount(pid%u)", (unsigned)my_pid);
- if ( spawnl(LOG_CRIT, _PATH_MOUNT, _PATH_MOUNT, "-t", "autofs", "-o",
+ if ( spawnl(LOG_CRIT, PATH_MOUNT, PATH_MOUNT, "-t", "autofs", "-o",
options, our_name, path, NULL) ) {
close(pipefd[0]);
close(pipefd[1]);