From: John L. <mov...@us...> - 2006-11-18 01:19:00
|
Update of /cvsroot/oprofile/oprofile/libdb/tests In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12100/libdb/tests Modified Files: db_test.c Log Message: style fixes Index: db_test.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libdb/tests/db_test.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -d -r1.9 -r1.10 --- db_test.c 17 Aug 2005 19:15:42 -0000 1.9 +++ db_test.c 18 Nov 2006 01:18:59 -0000 1.10 @@ -100,7 +100,7 @@ static int test(int nr_item, int nr_uniq for (i = 0 ; i < nr_item ; ++i) { - odb_key_t key = (random() % nr_unique_item) + 1; + odb_key_t key = (random() % nr_unique_item) + 1; rc = odb_update_node(&hash, key); if (rc != EXIT_SUCCESS) { fprintf(stderr, "%s", strerror(rc)); |