From d49db7d0981861d979765647cce3c6468a012301 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 2 Mar 2020 16:19:08 -0500 Subject: Refactor startswith() and endswidth() usage --- src/relocation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/relocation.c') diff --git a/src/relocation.c b/src/relocation.c index 1c5b1cf..2ef72eb 100644 --- a/src/relocation.c +++ b/src/relocation.c @@ -184,7 +184,7 @@ RelocationEntry **prefixes_read(const char *filename) { if (isempty(lptr)) { continue; } - if (startswith(lptr, "#") == 0) { + if (startswith(lptr, "#")) { do_prefix = 1; } else { -- cgit