]> git.ipfire.org Git - thirdparty/util-linux.git/commit
prlimit: make code more robust
authorKarel Zak <kzak@redhat.com>
Wed, 14 Apr 2021 14:15:34 +0000 (16:15 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 14 Apr 2021 14:19:01 +0000 (16:19 +0200)
commit91f6895fffe37257729c93a350344da296a59cb0
tree923e415479b00e0d94d02c30eb91a06ec52397f7
parente741653d22ac7a42cc80a3720da1edc7def5ad73
prlimit: make code more robust

The prlimit description are always defined as static strings, but it
seems better to make the code more readable and robust for static
analyzers and readers.

Fix also missing gettext() call for description help.

Fixes: https://github.com/karelzak/util-linux/issues/1277
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/prlimit.c