/*
* debugging print definition
*/
+#ifdef IS_DAEMON
+#define report(fmt, args...) UserNotify(fmt,##args)
+#else
#define report(fmt, args...) printf(fmt,##args)
+#endif /* IS_DAEMON */
+
#ifdef DEBUG /* done only on debugging */
#define debug report
#else
#define debug(fmt, arg...)
-#endif
+#endif /* DEBUG */
/*