summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-14 17:48:29 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-03-19 21:04:02 +0900
commitee5324aa04bb46a9a8e1ad23307efa85e05879b6 (patch)
tree85cd5851f9d9139c25291f08f04307b1340e58a3 /src/mount
parent24fcd009c3eb89f590bef96dd5495fd4ef796fd0 (diff)
downloadsystemd-ee5324aa04bb46a9a8e1ad23307efa85e05879b6.tar.gz
tree-wide: voidify pager_open()
Even if pager_open() fails, in general, we should continue the operations. All erroneous cases in pager_open() show log message in the function. So, it is not necessary to check the returned value.
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/mount-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 0cd9f07094..dd139740c2 100644
--- a/src/mount/mount-tool.c
+++ b/src/mount/mount-tool.c
@@ -1529,7 +1529,7 @@ static int list_devices(void) {
qsort_safe(items, n, sizeof(struct item), compare_item);
- pager_open(arg_no_pager, false);
+ (void) pager_open(arg_no_pager, false);
fputs(ansi_underline(), stdout);
for (c = 0; c < _COLUMN_MAX; c++) {