The plymouth tracing output lists the function but there are many
cases in which the same message is issued from multiple places in the same
function, which makes debugging more difficult. This patch adds the line
number to the output to uniquely identify each site.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Cristian RodrÃguez <crrodriguez@opensuse.org>
ply_logger_flush (logger); \
errno = _old_errno; \
ply_logger_inject (logger, \
- "[%s] %45.45s:" format "\r\n", \
- __FILE__, __func__, ##args); \
+ "[%s:%d] %45.45s:" format "\r\n", \
+ __FILE__, __LINE__, __func__, ##args); \
ply_logger_flush (logger); \
errno = _old_errno; \
} \