summaryrefslogtreecommitdiff
path: root/test/signal-logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/signal-logging.c')
-rw-r--r--test/signal-logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/signal-logging.c b/test/signal-logging.c
index 3d2d04801..7f2972003 100644
--- a/test/signal-logging.c
+++ b/test/signal-logging.c
@@ -177,7 +177,7 @@ static void logging_format(void)
strcpy(&buf[sizeof(buf) - 4], "end");
LogInit(log_file_path, NULL);
- assert(f = fopen(log_file_path, "r"));
+ assert((f = fopen(log_file_path, "r")));
#define read_log_msg(msg) do { \
msg = fgets(read_buf, sizeof(read_buf), f); \