[systemd-devel] [PATCH] sd-login: Fix typo

Bastien Nocera hadess at hadess.net
Fri Nov 1 00:24:52 CET 2013


s/sessio,/session,/
---
 src/systemd/sd-login.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h
index c5837f0..961bd88 100644
--- a/src/systemd/sd-login.h
+++ b/src/systemd/sd-login.h
@@ -101,7 +101,7 @@ int sd_session_is_active(const char *session);
 /* Get state from session. Possible states: online, active, closing
  * (This function is a more generic version of
  * sd_session_is_active().) */
-int sd_session_get_state(const char *sessio, char **state);
+int sd_session_get_state(const char *session, char **state);
 
 /* Determine user id of session */
 int sd_session_get_uid(const char *session, uid_t *uid);
-- 
1.8.3.1




More information about the systemd-devel mailing list