X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fbtape.c;h=99ddfa7a91c0ccdf759551489dfdd17ead874fc0;hb=6a87a975f7054bdcb9b0d075fa05a4c89dd9ea43;hp=f1578f87466ee85fc70a6602eff76b9425aadef6;hpb=97858996d6b266e88c107716a457f4d39b235f2a;p=bacula%2Fbacula diff --git a/bacula/src/stored/btape.c b/bacula/src/stored/btape.c index f1578f8746..99ddfa7a91 100644 --- a/bacula/src/stored/btape.c +++ b/bacula/src/stored/btape.c @@ -149,9 +149,9 @@ int main(int margc, char *margv[]) char buf[1000]; /* Sanity checks */ - if (TAPE_BSIZE % DEV_BSIZE != 0 || TAPE_BSIZE / DEV_BSIZE == 0) { + if (TAPE_BSIZE % B_DEV_BSIZE != 0 || TAPE_BSIZE / B_DEV_BSIZE == 0) { Emsg2(M_ABORT, 0, "Tape block size (%d) not multiple of system size (%d)\n", - TAPE_BSIZE, DEV_BSIZE); + TAPE_BSIZE, B_DEV_BSIZE); } if (TAPE_BSIZE != (1 << (ffs(TAPE_BSIZE)-1))) { Emsg1(M_ABORT, 0, "Tape block size (%d) is not a power of 2\n", TAPE_BSIZE);