mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Add string format checking to err.h functions
And fix all problems this detected... oops
This commit is contained in:
@@ -243,7 +243,7 @@ static int32_t computeRPNExpr(struct Patch const *patch,
|
||||
struct Symbol const *symbolDefinition =
|
||||
sym_GetSymbol(symbol->name);
|
||||
if (!symbolDefinition)
|
||||
errx(1, "%s(%d): Unknown symbol \"%s\"",
|
||||
errx(1, "%s: Unknown symbol \"%s\"",
|
||||
patch->fileName, symbol->name);
|
||||
symbol = symbolDefinition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user