diff options
author | Benoit Dejean <bdejean@gmail.com> | 2015-06-21 21:44:32 +0200 |
---|---|---|
committer | Benoit Dejean <bdejean@gmail.com> | 2015-07-15 18:38:27 +0200 |
commit | 6bdb9a76ebb0c2481e9d9443884550d52493cdf7 (patch) | |
tree | 105ff9482cd0ec0cec20e6c84f9eeb3a5534e2e3 /include/glibtop | |
parent | fd29dae93328503eb8ae89aa30152b8101823131 (diff) | |
download | libgtop-6bdb9a76ebb0c2481e9d9443884550d52493cdf7.tar.gz |
Fixed glibtop_debug for calls without arguments.
Diffstat (limited to 'include/glibtop')
-rw-r--r-- | include/glibtop/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/glibtop/error.h b/include/glibtop/error.h index 6cc10a7f..76e1abe8 100644 --- a/include/glibtop/error.h +++ b/include/glibtop/error.h @@ -50,7 +50,7 @@ void glibtop_warn_io (const char *format, ...) G_GNUC_PRINTF(1, 2); #define glibtop_debug(fmt, ...) \ G_STMT_START { \ if (LIBGTOP_ENABLE_DEBUG) \ - glibtop_debug_r(glibtop_global_server, fmt, __VA_ARGS__); \ + glibtop_debug_r(glibtop_global_server, fmt, ##__VA_ARGS__); \ } G_STMT_END void glibtop_debug_vr (glibtop *server, const char *format, va_list args); |