svn commit: r235899 - head/sys/kern
Alexander Motin
mav at FreeBSD.org
Thu May 24 11:24:45 UTC 2012
Author: mav
Date: Thu May 24 11:24:44 2012
New Revision: 235899
URL: http://svn.freebsd.org/changeset/base/235899
Log:
MFprojects/zfsd:
Hide warning behind bootverbose. Average user has nothing to do about it.
Modified:
head/sys/kern/kern_conf.c
Modified: head/sys/kern/kern_conf.c
==============================================================================
--- head/sys/kern/kern_conf.c Thu May 24 11:20:51 2012 (r235898)
+++ head/sys/kern/kern_conf.c Thu May 24 11:24:44 2012 (r235899)
@@ -993,9 +993,10 @@ make_dev_physpath_alias(int flags, struc
max_parentpath_len = SPECNAMELEN - physpath_len - /*/*/1;
parentpath_len = strlen(pdev->si_name);
if (max_parentpath_len < parentpath_len) {
- printf("make_dev_physpath_alias: WARNING - Unable to alias %s "
- "to %s/%s - path too long\n",
- pdev->si_name, physpath, pdev->si_name);
+ if (bootverbose)
+ printf("WARNING: Unable to alias %s "
+ "to %s/%s - path too long\n",
+ pdev->si_name, physpath, pdev->si_name);
ret = ENAMETOOLONG;
goto out;
}
More information about the svn-src-head
mailing list