]> granicus.if.org Git - procps-ng/commit
pmap: restore a proper response when arguments missing
authorJim Warner <james.warner@comcast.net>
Sat, 16 Mar 2013 05:00:00 +0000 (00:00 -0500)
committerJaromir Capik <jcapik@redhat.com>
Mon, 18 Mar 2013 17:42:07 +0000 (18:42 +0100)
commitf85439e42d68cc0d488b98f83404d45c880cf66f
tree854e022b7f4e60e7e55d9b144b8246036bfe8cca
parent088d77c3ae94a0bb79d7a873ae5ae6beeab71422
pmap: restore a proper response when arguments missing

Ever since pmap was refactored via the reference below
(and sprinkled with those damn tabs), the response for
the absence of any argument has been an error message.

This patch restores the proper behavior ('usage' text)
and updates the dejagnu 'no arguments' expect pattern.

Reference(s):
commit d50884788df5a9706ecba6a0966f48ef8f213f41

Signed-off-by: Jim Warner <james.warner@comcast.net>
pmap.c
testsuite/pmap.test/pmap.exp