summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Mackey <tdmackey@booleanhaiku.com>2013-09-12 19:45:49 -0700
committerLennart Poettering <lennart@poettering.net>2013-09-13 14:32:08 +0200
commita5e41bdb72a15c34971469535b4c3da16f0cce55 (patch)
treed7979247916235a67ac8e198f6ff8de905e60798 /src
parent7ab064a6d60cf805765077b67d56c123f9cf3c58 (diff)
automount: rename repeat_unmont to repeat_unmount
Trivial cleanup of repeat_unmount() spelling.
Diffstat (limited to 'src')
-rw-r--r--src/core/automount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index a20d5340f2..67623929c9 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -66,7 +66,7 @@ static void automount_init(Unit *u) {
UNIT(a)->ignore_on_isolate = true;
}
-static void repeat_unmout(const char *path) {
+static void repeat_unmount(const char *path) {
assert(path);
for (;;) {
@@ -100,7 +100,7 @@ static void unmount_autofs(Automount *a) {
if (a->where &&
(UNIT(a)->manager->exit_code != MANAGER_RELOAD &&
UNIT(a)->manager->exit_code != MANAGER_REEXECUTE))
- repeat_unmout(a->where);
+ repeat_unmount(a->where);
}
static void automount_done(Unit *u) {
@@ -575,7 +575,7 @@ fail:
close_nointr_nofail(ioctl_fd);
if (mounted)
- repeat_unmout(a->where);
+ repeat_unmount(a->where);
log_error_unit(UNIT(a)->id,
"Failed to initialize automounter: %s", strerror(-r));