diff --git a/main.c b/main.c index 1943817..5a1fbde 100644 --- a/main.c +++ b/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); } } diff --git a/worker.c b/worker.c index b9a6476..78376ce 100644 --- a/worker.c +++ b/worker.c @@ -102,7 +102,7 @@ static void onionready(char *sname,const u8 *secret,const u8 *pubonion) if (!yamloutput) { if (createdir(sname,1) != 0) { pthread_mutex_lock(&fout_mutex); - fprintf(stderr,"ERROR: could not create directory for key output\n"); + fprintf(stderr,"ERROR: could not create directory \"%s\" for key output\n",sname); pthread_mutex_unlock(&fout_mutex); return; } diff --git a/yaml.c b/yaml.c index c8778a6..56bd10e 100644 --- a/yaml.c +++ b/yaml.c @@ -274,7 +274,7 @@ int yamlin_parseandcreate( sigprocmask(SIG_BLOCK,&nset,&oset); #endif if (createdir(sname,1) != 0) { - fprintf(stderr,"ERROR: could not create directory for key output\n"); + fprintf(stderr,"ERROR: could not create directory \"%s\" for key output\n",sname); return 1; }