summary refs log tree commit diff
path: root/src/libnm-log-core/nm-logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-log-core/nm-logging.c')
-rw-r--r--src/libnm-log-core/nm-logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnm-log-core/nm-logging.c b/src/libnm-log-core/nm-logging.c
index a2bd2a27..019bcf09 100644
--- a/src/libnm-log-core/nm-logging.c
+++ b/src/libnm-log-core/nm-logging.c
@@ -641,7 +641,7 @@ _nm_printf(3, 4) static void _iovec_set_format(struct iovec *iov,
     {                                                               \
         const char *_str_arg = (str_arg);                           \
                                                                     \
-        nm_assert(_str_arg &&strlen(_str_arg) < (max_str_len));     \
+        nm_assert(_str_arg && strlen(_str_arg) < (max_str_len));    \
         _iovec_set_format_a((iov), (max_str_len), format, str_arg); \
     }                                                               \
     G_STMT_END