summaryrefslogtreecommitdiffstats
path: root/src/portable
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-08-03 16:59:09 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-11-03 15:24:56 +0100
commit384c2c3239c51b7bdaddc7cbd4958b5b923cce42 (patch)
tree9483260b04da956876f951ff39476872b3dc9083 /src/portable
parentmanager: fix confusion when to send READY=1 (diff)
downloadsystemd-384c2c3239c51b7bdaddc7cbd4958b5b923cce42.tar.xz
systemd-384c2c3239c51b7bdaddc7cbd4958b5b923cce42.zip
Make pager_open() return void
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/portablectl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/portablectl.c b/src/portable/portablectl.c
index ec625161a4..dda6b9c1ef 100644
--- a/src/portable/portablectl.c
+++ b/src/portable/portablectl.c
@@ -333,7 +333,7 @@ static int inspect_image(int argc, char *argv[], void *userdata) {
if (r < 0)
return bus_log_parse_error(r);
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
if (arg_cat) {
printf("%s-- OS Release: --%s\n", ansi_highlight(), ansi_normal());
@@ -1093,7 +1093,7 @@ static int help(int argc, char *argv[], void *userdata) {
_cleanup_free_ char *link = NULL;
int r;
- (void) pager_open(arg_pager_flags);
+ pager_open(arg_pager_flags);
r = terminal_urlify_man("portablectl", "1", &link);
if (r < 0)