diff options
author | Dan Williams <dcbw@redhat.com> | 2010-04-07 13:40:27 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-04-07 13:40:27 -0700 |
commit | 0d0503f21a6fa7d3b448035be487f8b1d5742652 (patch) | |
tree | 4e571190dfc3006527c2cd9e7402175257770eb6 /src/logging | |
parent | e7877a0036bd5ce1a4cbe1ab00ed9d85755e585d (diff) | |
download | NetworkManager-0d0503f21a6fa7d3b448035be487f8b1d5742652.tar.gz |
logging: fix loc/func confusion
Diffstat (limited to 'src/logging')
-rw-r--r-- | src/logging/nm-logging.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/logging/nm-logging.h b/src/logging/nm-logging.h index 1b34614c7e..ba15268c34 100644 --- a/src/logging/nm-logging.h +++ b/src/logging/nm-logging.h @@ -63,21 +63,21 @@ enum { }; #define nm_log_err(domain, fmt, args...) \ - { _nm_log (G_STRFUNC, G_STRLOC, domain, LOGL_ERR, fmt, ##args); } + { _nm_log (G_STRLOC, G_STRFUNC, domain, LOGL_ERR, fmt, ##args); } #define nm_log_warn(domain, fmt, args...) \ - { _nm_log (G_STRFUNC, G_STRLOC, domain, LOGL_WARN, fmt, ##args); } + { _nm_log (G_STRLOC, G_STRFUNC, domain, LOGL_WARN, fmt, ##args); } #define nm_log_info(domain, fmt, args...) \ - { _nm_log (G_STRFUNC, G_STRLOC, domain, LOGL_INFO, fmt, ##args); } + { _nm_log (G_STRLOC, G_STRFUNC, domain, LOGL_INFO, fmt, ##args); } #define nm_log_dbg(domain, fmt, args...) \ - { _nm_log (G_STRFUNC, G_STRLOC, domain, LOGL_DEBUG, fmt, ##args); } + { _nm_log (G_STRLOC, G_STRFUNC, domain, LOGL_DEBUG, fmt, ##args); } #define nm_log(domain, level, fmt, args...) \ - { _nm_log (G_STRFUNC, G_STRLOC, domain, level, fmt, ##args); } + { _nm_log (G_STRLOC, G_STRFUNC, domain, level, fmt, ##args); } -void _nm_log (const char *func, const char *loc, +void _nm_log (const char *loc, const char *func, guint32 domain, guint32 level, const char *fmt, ...); |