]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setpriv: small clean-up.
authorÉrico Rolim <erico.erc@gmail.com>
Fri, 20 Nov 2020 15:33:23 +0000 (12:33 -0300)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2021 08:38:48 +0000 (09:38 +0100)
commitbef24ecfb990ea8ace96be0a296ec2dd32e85270
tree500707dd31756b4a964495ff44041b1e5b3c9bcf
parentb24fa471728bf671017588e28da63989e3eccc75
setpriv: small clean-up.

- Add _() calls for some strings which were missing it.
- In print_caps(), use the same error checking done in
  list_known_caps(); it is expected that libcap-ng will always return a
  string, even if it's only "cap_%d".
sys-utils/setpriv.c