]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
afs: Improve error diagnostics.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 04eed5503d18cb6d3b6e4d0cb127f98637d36b5d..c4de2e8f37d5a94937f0fe3519715d40242f5329 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -1043,7 +1043,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;
 }