Simple patch attached.
Thanks Michal
PS: We should really push the patches that Lukas wrote to prevent this kind of errors. It is in thread: [SSSD] [PATCHES] Enable printf format string checking
With them, we will get warning if do the same mistake in the future.