X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=afs.c;h=050e1965cb68e71257c109d35b6ae23671c56949;hb=3946a9e571327a8a56ab40196ad867df38b70d27;hp=04eed5503d18cb6d3b6e4d0cb127f98637d36b5d;hpb=e2e1adca824585eeecd091f54955e51212927533;p=paraslash.git diff --git a/afs.c b/afs.c index 04eed550..050e1965 100644 --- a/afs.c +++ b/afs.c @@ -424,7 +424,8 @@ static int open_next_audio_file(void) ret = open_and_update_audio_file(&afd); if (ret < 0) { - PARA_ERROR_LOG("%s\n", para_strerror(-ret)); + if (ret != -OSL_ERRNO_TO_PARA_ERROR(E_OSL_RB_KEY_NOT_FOUND)) + PARA_ERROR_LOG("%s\n", para_strerror(-ret)); goto no_admissible_files; } shmid = ret; @@ -1043,7 +1044,8 @@ static int com_init_callback(struct afs_callback_arg *aca) } ret = open_afs_tables(); if (ret < 0) - para_printf(&aca->pbout, "cannot open afs tables\n"); + para_printf(&aca->pbout, "cannot open afs tables: %s\n", + para_strerror(-ret)); out: return ret; }