Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/kill.cc')
-rw-r--r--winsup/utils/kill.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/kill.cc b/winsup/utils/kill.cc
index a7913e43c..5e2a30d50 100644
--- a/winsup/utils/kill.cc
+++ b/winsup/utils/kill.cc
@@ -30,7 +30,7 @@ main (int argc, char **argv)
if (argc == 1)
usage ();
- while (*(++argv)[0] == '-')
+ while (*++argv && **argv == '-')
if (strcmp (*argv + 1, "f") == 0)
force = 1;
else if (gotsig)