summaryrefslogtreecommitdiff
path: root/src/login/test-inhibit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/test-inhibit.c')
-rw-r--r--src/login/test-inhibit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/test-inhibit.c b/src/login/test-inhibit.c
index 634f1e1284..7b6deffc3e 100644
--- a/src/login/test-inhibit.c
+++ b/src/login/test-inhibit.c
@@ -119,7 +119,7 @@ int main(int argc, char*argv[]) {
print_inhibitors(bus);
- fd1 = inhibit(bus, "suspend");
+ fd1 = inhibit(bus, "sleep");
assert(fd1 >= 0);
print_inhibitors(bus);