(main: try): Actually call ffs in the test.
authorroland <roland>
Sat, 3 Sep 1994 16:22:50 +0000 (16:22 +0000)
committerroland <roland>
Sat, 3 Sep 1994 16:22:50 +0000 (16:22 +0000)
string/test-ffs.c

index 9278fb6..bbe6278 100644 (file)
@@ -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));