diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-04-25 05:44:49 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-05-10 02:35:24 +0200 |
commit | 8ac0810f6c509a9e69ddfc7f999572684625d08f (patch) | |
tree | 7dff6ba66297aa3f5851e7d4ceebbca83e67f624 /src/systemctl/systemctl-show.c | |
parent | basic/linux: Copy netfilter.h to the source tree (diff) | |
download | systemd-8ac0810f6c509a9e69ddfc7f999572684625d08f.tar.xz systemd-8ac0810f6c509a9e69ddfc7f999572684625d08f.zip |
logs-show: drop uid argument from add_matches_for_user_units()
It is always equivalent to getuid(). Let's call getuid() in the
function instead.
Diffstat (limited to 'src/systemctl/systemctl-show.c')
-rw-r--r-- | src/systemctl/systemctl-show.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemctl/systemctl-show.c b/src/systemctl/systemctl-show.c index 74d6465739..2fdf321886 100644 --- a/src/systemctl/systemctl-show.c +++ b/src/systemctl/systemctl-show.c @@ -847,10 +847,9 @@ static void print_status_info( i->id, i->log_namespace, arg_output, - 0, + /* n_columns = */ 0, i->inactive_exit_timestamp_monotonic, arg_lines, - getuid(), get_output_flags() | OUTPUT_BEGIN_NEWLINE, SD_JOURNAL_LOCAL_ONLY, arg_runtime_scope == RUNTIME_SCOPE_SYSTEM, |