summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-05 15:16:10 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-05 15:16:10 +0100
commite09a9a35a1fdb4e849e63bdaf47d936c272b5e82 (patch)
tree0995674c0190764f2a909e1889ffd3536233d949 /src/systemd
parenta84f9b3c1db1afa8a69698a323425d67f1b9e45b (diff)
sd-login: c++ compatibility
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-login.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h
index 2f3c90c12..6e99cfc95 100644
--- a/src/systemd/sd-login.h
+++ b/src/systemd/sd-login.h
@@ -94,7 +94,7 @@ int sd_session_get_service(const char *session, char **service);
int sd_session_get_type(const char *session, char **type);
/* Determine the class of this session, i.e. one of "user", "greeter" or "lock-screen". */
-int sd_session_get_class(const char *session, char **class);
+int sd_session_get_class(const char *session, char **clazz);
/* Determine the X11 display of this session. */
int sd_session_get_display(const char *session, char **display);