Fix my yesterday's brain-o: don't account for the kilobytes twice.

This commit is contained in:
Joerg Wunsch 1996-10-14 22:56:01 +00:00
parent 11fcd0ba76
commit 8df9b2ce24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18934

View File

@ -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);