agent: fix debug print formatting
Signed-off-by: Marek Puzyniak marek.puzyniak@iopsys.eu
@jakob If today is too late to merge it, then tomorrow it need to be merged. When debug is enabled for mapagent it will cause core dump. When option debug is 0 it works ok.