aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-11-11 15:09:26 +1300
committerGitHub <noreply@github.com>2017-11-11 15:09:26 +1300
commit698a172701e15283652d813c8f47122be3164dd5 (patch)
tree79d8e86c494950488ace4f327e384a402922dc76
parent5f3b27347ccd9d5d23cd8590ed3fa6cee252024f (diff)
parentf092a379556ed3bbca2043445305eee28ab8c850 (diff)
Merge pull request #405 from rgnstf2712/fix-typos
Fix typos
-rw-r--r--backend/session/logind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c
index 42b48e94..daff75b6 100644
--- a/backend/session/logind.c
+++ b/backend/session/logind.c
@@ -123,7 +123,7 @@ static bool logind_change_vt(struct wlr_session *base, unsigned vt) {
return ret >= 0;
}
-static bool find_sesion_path(struct logind_session *session) {
+static bool find_session_path(struct logind_session *session) {
int ret;
sd_bus_message *msg = NULL;
sd_bus_error error = SD_BUS_ERROR_NULL;
@@ -303,7 +303,7 @@ static bool add_signal_matches(struct logind_session *session) {
"member='%s',"
"path='%s'";
- snprintf(str, sizeof(str), fmt, "Manager", "SesssionRemoved", "/org/freedesktop/login1");
+ snprintf(str, sizeof(str), fmt, "Manager", "SessionRemoved", "/org/freedesktop/login1");
ret = sd_bus_add_match(session->bus, NULL, str, session_removed, session);
if (ret < 0) {
wlr_log(L_ERROR, "Failed to add D-Bus match: %s", strerror(-ret));
@@ -368,7 +368,7 @@ static struct wlr_session *logind_session_create(struct wl_display *disp) {
goto error;
}
- if (!find_sesion_path(session)) {
+ if (!find_session_path(session)) {
sd_bus_unref(session->bus);
goto error;
}