mirror of git://sourceware.org/git/glibc.git
(main: try): Actually call ffs in the test.
This commit is contained in:
parent
74532ad1e5
commit
ba96880840
|
|
@ -32,7 +32,7 @@ DEFUN(main, (argc, argv),
|
|||
int i;
|
||||
void try (int value, int expected)
|
||||
{
|
||||
if (value != expected)
|
||||
if (ffs (value) != expected)
|
||||
{
|
||||
fprintf (stderr, "%#x expected %d got %d\n",
|
||||
value, expected, ffs (value));
|
||||
|
|
|
|||
Loading…
Reference in New Issue