X-Git-Url: https://git.gag.com/?p=debian%2Famanda;a=blobdiff_plain;f=tape-src%2Ftapetype.c;h=012840117e0ba92d22ce244966666afebfd50d30;hp=26077b1d90f156af2dd4e2bb99dedd8ee519ca6b;hb=a6127998ee6dcab6bb034f6ca985b07804a86f9a;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee diff --git a/tape-src/tapetype.c b/tape-src/tapetype.c index 26077b1..0128401 100644 --- a/tape-src/tapetype.c +++ b/tape-src/tapetype.c @@ -30,6 +30,7 @@ * tests a tape in a given tape unit and prints a tapetype entry for * it. */ #include "amanda.h" +#include "conffile.h" #include "tapeio.h" @@ -387,6 +388,8 @@ main( setlocale(LC_MESSAGES, "C"); textdomain("amanda"); + config_init(0, NULL); + if ((sProgName = strrchr(*argv, '/')) == NULL) { sProgName = *argv; } else {