aboutsummaryrefslogtreecommitdiff
path: root/src/relocation.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-02 16:19:08 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-02 16:19:08 -0500
commitd49db7d0981861d979765647cce3c6468a012301 (patch)
treef6d8c12a34978292337954daa85acd5031b4c8ec /src/relocation.c
parente30c8ffa406e377432bae6a9b7fbd41b046da201 (diff)
downloadspmc-d49db7d0981861d979765647cce3c6468a012301.tar.gz
Refactor startswith() and endswidth() usage
Diffstat (limited to 'src/relocation.c')
-rw-r--r--src/relocation.c2
1 files changed, 1 insertions, 1 deletions
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 {