lib/fs: Fix format string in find_fs_mount()
A field width of 4096 allows fscanf() to store that amount of characters into the given buffer, though that doesn't include the terminating NULL byte. Decrease the value by one to leave space for it. Signed-off-by: Phil Sutter <phil@nwl.cc>
This commit is contained in:
parent
45c2ec9e95
commit
eab4507898
Loading…
Reference in New Issue