Commit 138701c4 authored by Andrej's avatar Andrej Committed by Craig Small

Fix pwdx argument parsing

On some architectures/gcc's, the pwdx tool doesn't compile right
because of bad type of a variable. Afterwards pwdx can't be
persuaded to work. Use int as the type, like the other tools
(like pgrep) do.
Signed-off-by: Craig Small's avatarCraig Small <csmall@enc.com.au>
parent a5d9c402
......@@ -63,7 +63,7 @@ int check_pid_argument(char *input)
int main(int argc, char *argv[])
{
char ch;
int ch;
int retval = 0, i;
int alloclen = 128;
char *pathbuf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment