Commit 4aa6d3e
committed
xfree86: loader: fix NULL warning on LogMessage() call
> ../hw/xfree86/loader/loadmod.c: In function ‘LoaderSetPath’:
> ../hw/xfree86/loader/loadmod.c:230:67: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
> 230 | LogMessage(X_ERROR, "Failed to store module search path \"%s\" for module %s\n", path, driver);
> | ^~
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>1 parent 0aea4cf commit 4aa6d3e
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
0 commit comments