summaryrefslogtreecommitdiff
path: root/src/login/inhibit.c
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-11-05 13:57:30 +0000
committerGitHub <noreply@github.com>2021-11-05 13:57:30 +0000
commit8389fd19d20370077f2d5601af0a089ec92ece05 (patch)
tree15402f17ca3b5fced203a7b8b3c79e8d6fe936e0 /src/login/inhibit.c
parent5f035b13deb15daab34c2b5da30fabe8600fd803 (diff)
parent384c2c3239c51b7bdaddc7cbd4958b5b923cce42 (diff)
downloadsystemd-8389fd19d20370077f2d5601af0a089ec92ece05.tar.gz
Merge pull request #20138 from keszybz/coding-style-variable-decls
A coding style tweak and checking of sd_notify() calls and voidification of pager_open()
Diffstat (limited to 'src/login/inhibit.c')
-rw-r--r--src/login/inhibit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index 49aaf68c4d..35a6e8e64a 100644
--- a/src/login/inhibit.c
+++ b/src/login/inhibit.c
@@ -70,7 +70,7 @@ static int print_inhibitors(sd_bus *bus) {
_cleanup_(table_unrefp) Table *table = NULL;
int r;
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
r = sd_bus_call_method(
bus,