mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix my yesterday's brain-o: don't account for the kilobytes twice.
This commit is contained in:
parent
11fcd0ba76
commit
8df9b2ce24
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ check_space()
|
|||
syslog(LOG_ERR, "%s: %m", tkernel);
|
||||
exit(1);
|
||||
}
|
||||
kernelsize = (st.st_blocks * S_BLKSIZE) / 1024;
|
||||
kernelsize = st.st_blocks * S_BLKSIZE;
|
||||
|
||||
if (statfs(dirname, &fsbuf) < 0) {
|
||||
syslog(LOG_ERR, "%s: %m", dirname);
|
||||
|
|
|
|||
Loading…
Reference in a new issue