summaryrefslogtreecommitdiff
path: root/src/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.c')
-rw-r--r--src/strings.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/strings.c b/src/strings.c
index b9c559b3..b2109961 100644
--- a/src/strings.c
+++ b/src/strings.c
@@ -422,13 +422,13 @@ process_chunk (const char *fname, const unsigned char *buf, off64_t to,
if (curlen >= min_len)
{
/* We found a match. */
- if (unlikely (fname != NULL))
+ if (likely (fname != NULL))
{
fputs_unlocked (fname, stdout);
fputs_unlocked (": ", stdout);
}
- if (unlikely (locfmt != NULL))
+ if (likely (locfmt != NULL))
printf (locfmt, (int64_t) to - len - (buf - start));
if (unlikely (*unprinted != NULL))
@@ -739,3 +739,6 @@ read_elf (Elf *elf, int fd, const char *fname, off64_t fdlen)
return result;
}
+
+
+#include "debugpred.h"