On Thu, Oct 10, 2013 at 11:03:59PM +0400, Pavel Emelyanov wrote: > Better make it like > > pr_debug("\t\tRestore ..."); > if (log_get_loglevel() >= LOG_REBUG) { > char link[]; > readlink(...); > pr_debug("\t\t -> %s", link); > } OK, thanks.