]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/bytetest: debug cleanup
authorVictor Julien <victor@inliniac.net>
Tue, 12 Mar 2019 18:55:34 +0000 (19:55 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 21 Mar 2019 18:19:04 +0000 (19:19 +0100)
src/detect-bytetest.c

index c833bc4a02da251914e3f921d3a1aa26ae82d044..d7c0db0bbc355fcecd8eea1a1005a368be671caf 100644 (file)
@@ -163,7 +163,7 @@ int DetectBytetestDoMatch(DetectEngineThreadCtx *det_ctx,
             }
         }
 
-        SCLogDebug("comparing base %d string 0x%" PRIx64 " %s%c 0x%" PRIx64 "",
+        SCLogDebug("comparing base %d string 0x%" PRIx64 " %s%u 0x%" PRIx64,
                data->base, val, (neg ? "!" : ""), data->op, data->value);
     }
     else {
@@ -176,7 +176,7 @@ int DetectBytetestDoMatch(DetectEngineThreadCtx *det_ctx,
             SCReturnInt(-1);
         }
 
-        SCLogDebug("comparing numeric 0x%" PRIx64 " %s%c 0x%" PRIx64 "",
+        SCLogDebug("comparing numeric 0x%" PRIx64 " %s%u 0x%" PRIx64,
                val, (neg ? "!" : ""), data->op, data->value);
     }