diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-11-24 18:00:28 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-11-24 18:00:28 +0300 |
commit | 9b01c29c0435e6cd52412cf59295b19921feeb61 (patch) | |
tree | 0acb16196bb2ec148bc14d44295f7b60d7108bf6 /winsup/utils/kill.cc | |
parent | 59ab07f170d32d09329eaa110c1a90ab534e399a (diff) |
Fix typo in kill(1)
buf is just a local buffer, sig is ultimately pointing to the
signal string.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils/kill.cc')
-rw-r--r-- | winsup/utils/kill.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/kill.cc b/winsup/utils/kill.cc index e771cdbde..c6adaa281 100644 --- a/winsup/utils/kill.cc +++ b/winsup/utils/kill.cc @@ -90,7 +90,7 @@ getsig (const char *in_sig) } intsig = strtosigno (sig) ?: atoi (in_sig); char *p; - if (!intsig && (strcmp (buf, "SIG0") != 0 && (strtol (in_sig, &p, 10) != 0 || *p))) + if (!intsig && (strcmp (sig, "SIG0") != 0 && (strtol (in_sig, &p, 10) != 0 || *p))) intsig = -1; return intsig; } |