use srandom, when using random

This commit is contained in:
Yuval Tal
2011-05-29 10:46:20 +03:00
parent dfc47f3974
commit 04d7aec8ee
+1 -1
View File
@@ -174,7 +174,7 @@ int main(int argc, char **argv)
dup(tIdx);
}
}
srand ( time(NULL) );
srandom ( time(NULL) );
// Copy over empty 00's
//tPrintHWID[tIdx] = tAddr[0];