1 diff -up bonnie++-1.03a/zcav.cpp.gcc43 bonnie++-1.03a/zcav.cpp 2 --- bonnie++-1.03a/zcav.cpp.gcc43 2008-02-08 20:19:25.000000000 -0500 3 +++ bonnie++-1.03a/zcav.cpp 2008-02-08 20:19:37.000000000 -0500 4 @@ -9,6 +9,7 @@ using namespace std; 5 #include <sys/stat.h> 6 #include <fcntl.h> 7 #include <stdlib.h> 8 +#include <string.h> 9 #include "bonnie.h" 10 #ifdef HAVE_VECTOR 11 #include <vector> 12 @@ -72,7 +73,7 @@ int main(int argc, char *argv[]) 13 usage(); 14 userName = strdup(optarg); 15 int i; 16 - for(i = 0; userName[i] && userName[i] != ':'; i++); 17 + for(i = 0; userName[i] && userName[i] != ':'; i++) ; 18 if(userName[i] == ':') 19 { 20 if(groupName) 21