stdlib/tst-qsort2.c: Fix off-by-one argc interpretation error
authorMaciej W. Rozycki <macro@codesourcery.com>
Fri, 20 Jun 2014 20:29:33 +0000 (21:29 +0100)
committerMaciej W. Rozycki <macro@codesourcery.com>
Fri, 20 Jun 2014 20:29:33 +0000 (21:29 +0100)
commit4e6d234712f976eee62fb2047338a501da00c4c7
tree2c2b3f7b58c824d5a20e5be5ddb5a349d262164a
parent7fd00f998042e04038619ddd4ec78a4e114217b5
stdlib/tst-qsort2.c: Fix off-by-one argc interpretation error

This fixes an off-by-one argc interpretation error (argv[0] is included
in the count) in stdlib/tst-qsort2.c causing a segfault if the program
is called with one command-line argument only (argv[2] is NULL in that
case).
ChangeLog
stdlib/tst-qsort2.c