]> git.ipfire.org Git - thirdparty/util-linux.git/commit
prlimit: fix error message
authorKarel Zak <kzak@redhat.com>
Wed, 16 Nov 2011 09:54:07 +0000 (10:54 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 16 Nov 2011 09:54:07 +0000 (10:54 +0100)
commitf88e44be572d255d4b67843ae1cb32da3409bf8e
treefed30638c67d2f2a6b414f3eb172a0f2caf2398e
parent8f71d37bc5c98ee209dcaa14356546724a95c541
prlimit: fix error message

 - differentiate between set and get operations
 - add limit name to the error message
 - remove PID from the message (whole util works always with only one
   PID, so this info is superfluous)

Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/prlimit.c