Make some minor fixups to bug reporting, etc.

This commit is contained in:
Justine Tunney 2022-07-11 05:55:17 -07:00
parent 84764ce7b8
commit 3f015b1e51
31 changed files with 244 additions and 134 deletions

View file

@ -309,7 +309,7 @@ void LoadRelationships(int argc, char *argv[]) {
for (i = 0; i < threads; ++i) {
if (_spawn(LoadRelationshipsWorker, (void *)(intptr_t)i, th + i) == -1) {
pthread_mutex_lock(&reportlock);
kprintf("error: clone(%d) failed %m\n", i);
kprintf("error: _spawn(%d) failed %m\n", i);
exit(1);
}
}
@ -420,7 +420,7 @@ void Explore(void) {
for (i = 0; i < threads; ++i) {
if (_spawn(Diver, (void *)(intptr_t)i, th + i) == -1) {
pthread_mutex_lock(&reportlock);
kprintf("error: clone(%d) failed %m\n", i);
kprintf("error: _spawn(%d) failed %m\n", i);
exit(1);
}
}