Date: Wed, 31 May 2017 08:42:44 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r319305 - stable/10/sbin/savecore Message-ID: <201705310842.v4V8gis4023095@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed May 31 08:42:44 2017 New Revision: 319305 URL: https://svnweb.freebsd.org/changeset/base/319305 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/10/sbin/savecore/savecore.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sbin/savecore/savecore.c ============================================================================== --- stable/10/sbin/savecore/savecore.c Wed May 31 08:42:31 2017 (r319304) +++ stable/10/sbin/savecore/savecore.c Wed May 31 08:42:44 2017 (r319305) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705310842.v4V8gis4023095>