mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
Fix fnread() string fmt, no format args.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
e7516f2b63
commit
f33261af6b
1 file changed
+1
-1
+1
-1
@@ -224,7 +224,7 @@ int fngetint(char *path, int *val)
|
||||
{
|
||||
char buf[64];
|
||||
|
||||
if (fnread(buf, sizeof(buf), path) <= 0)
|
||||
if (fnread(buf, sizeof(buf), "%s", path) <= 0)
|
||||
return -1;
|
||||
|
||||
errno = 0;
|
||||
|
||||
Reference in new issue
Block a user