svn commit: r319304 - stable/11/sbin/savecore
Ngie Cooper
ngie at FreeBSD.org
Wed May 31 08:42:32 UTC 2017
Author: ngie
Date: Wed May 31 08:42:31 2017
New Revision: 319304
URL: https://svnweb.freebsd.org/changeset/base/319304
Log:
MFC r316740:
Clarify `minfree` warning message in check_space(..)
- State that the units are kB.
- Be more complete/concise in terms of what is required (in this case
`minfree` must be at least `X`kB)
Modified:
stable/11/sbin/savecore/savecore.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sbin/savecore/savecore.c
==============================================================================
--- stable/11/sbin/savecore/savecore.c Wed May 31 08:40:46 2017 (r319303)
+++ stable/11/sbin/savecore/savecore.c Wed May 31 08:42:31 2017 (r319304)
@@ -277,7 +277,8 @@ check_space(const char *savedir, off_t dumpsize, int b
needed -= saved_dump_size(bounds);
if ((minfree > 0 ? spacefree : totfree) - needed < minfree) {
syslog(LOG_WARNING,
- "no dump, not enough free space on device (%lld available, need %lld)",
+ "no dump: not enough free space on device (%lldkB "
+ "available; need at least %lldkB)",
(long long)(minfree > 0 ? spacefree : totfree),
(long long)needed);
return (0);
More information about the svn-src-stable-11
mailing list