summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/make_shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make_shim.c b/tools/make_shim.c
index 70da31d..b5a7517 100644
--- a/tools/make_shim.c
+++ b/tools/make_shim.c
@@ -116,7 +116,7 @@ int main(int argc, char * argv[]) {
end = strchr(lineptr, ';');
if (end) *end = 0;
lineptr[strrspn(lineptr, " \t\n")] = 0;
- if (!*line)
+ if (!*lineptr)
continue;
// Get the bank, address, and symbol