aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mount_ext2.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mount_ext2.c')
-rw-r--r--modules/mount_ext2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mount_ext2.c b/modules/mount_ext2.c
index dec22d5..7b4e643 100644
--- a/modules/mount_ext2.c
+++ b/modules/mount_ext2.c
@@ -58,7 +58,7 @@ int mount_mount(const char *root, const char *name, int name_len,
}
syslog(LOG_DEBUG, MODPREFIX "calling fsck.ext2 -p %s", what);
- err = spawnl(LOG_DEBUG, _PATH_E2FSCK, _PATH_E2FSCK, "-p", what, NULL);
+ err = spawnl(LOG_DEBUG, PATH_E2FSCK, PATH_E2FSCK, "-p", what, NULL);
if ( err & ~7 ) {
syslog(LOG_ERR, MODPREFIX "%s: filesystem needs repair, won't mount",
what);
@@ -68,12 +68,12 @@ int mount_mount(const char *root, const char *name, int name_len,
if ( options ) {
syslog(LOG_DEBUG, MODPREFIX "calling mount -t %s -o %s %s %s",
fstype, options, what, fullpath);
- err = spawnl(LOG_NOTICE, _PATH_MOUNT, _PATH_MOUNT, "-t", fstype,
+ err = spawnl(LOG_NOTICE, PATH_MOUNT, PATH_MOUNT, "-t", fstype,
"-o", options, what, fullpath, NULL);
} else {
syslog(LOG_DEBUG, MODPREFIX "calling mount -t %s %s %s",
fstype, what, fullpath);
- err = spawnl(LOG_NOTICE, _PATH_MOUNT, _PATH_MOUNT, "-t", fstype,
+ err = spawnl(LOG_NOTICE, PATH_MOUNT, PATH_MOUNT, "-t", fstype,
what, fullpath, NULL);
}
if ( err ) {