diff --git a/src/vlserver/vldb_check.c b/src/vlserver/vldb_check.c index fa9c8d89ea..b6ab212ea0 100644 --- a/src/vlserver/vldb_check.c +++ b/src/vlserver/vldb_check.c @@ -143,7 +143,7 @@ readUbikHeader(void) } uheader.magic = ntohl(uheader.magic); - uheader.size = ntohl(uheader.size); + uheader.size = ntohs(uheader.size); uheader.version.epoch = ntohl(uheader.version.epoch); uheader.version.counter = ntohl(uheader.version.counter);