diff options
author | root <root@rshg054.dnsready.net> | 2012-03-13 00:01:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-13 00:01:30 +0000 |
commit | 217a7715291ceb935900b71bde082023bc441290 (patch) | |
tree | 6cbfcf7d11f0bd1e412f542080ec995fc26daffd /extra/systemd/cpp-compat.patch | |
parent | 7e61bbcf6b3c8ffe6c076268044d83b446fceeab (diff) |
Tue Mar 13 00:01:30 UTC 2012
Diffstat (limited to 'extra/systemd/cpp-compat.patch')
-rw-r--r-- | extra/systemd/cpp-compat.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/systemd/cpp-compat.patch b/extra/systemd/cpp-compat.patch new file mode 100644 index 000000000..346c353bc --- /dev/null +++ b/extra/systemd/cpp-compat.patch @@ -0,0 +1,19 @@ +commit e09a9a35a1fdb4e849e63bdaf47d936c272b5e82 +Author: Lennart Poettering <lennart@poettering.net> +Date: 2012-03-05 15:16:10 +0100 + + sd-login: c++ compatibility + +diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h +index 2f3c90c..6e99cfc 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); |