mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-16 15:02:50 +00:00
more helpful error messages
This commit is contained in:
parent
d202229a43
commit
309b86fd59
3 changed files with 3 additions and 3 deletions
2
main.c
2
main.c
|
@ -214,7 +214,7 @@ static void savecheckpoint(void)
|
|||
|
||||
if (syncwrite(checkpointfile,1,checkpoint,SEED_LEN) < 0) {
|
||||
pthread_mutex_lock(&fout_mutex);
|
||||
fprintf(stderr,"ERROR: could not save checkpoint\n");
|
||||
fprintf(stderr,"ERROR: could not save checkpoint to \"%s\"\n",checkpointfile);
|
||||
pthread_mutex_unlock(&fout_mutex);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue