fix: relayd: unaligned access in trace_chunk_registry_ht_key_hash
[lttng-tools.git] / tests / unit / test_fd_tracker.cpp
index 9e40c83c2ab5499893a8139f74468b4b014d4730..cdc622a04e463e30dbdd6971bd3e6a03d55f39ab 100644 (file)
@@ -704,7 +704,7 @@ skip_write:
                        break;
                }
 
-               if (strcmp(file_contents, read_buf)) {
+               if (strcmp(file_contents, read_buf) != 0) {
                        content_ok = false;
                        diag("File content doesn't match the expectated string");
                        (void) close(fd);
This page took 0.023243 seconds and 4 git commands to generate.