nameservice: fix wrong size argument