svn commit: r289767 - head/usr.sbin/mptable

Baptiste Daroussin bapt at FreeBSD.org
Thu Oct 22 21:13:37 UTC 2015


Author: bapt
Date: Thu Oct 22 21:13:35 2015
New Revision: 289767
URL: https://svnweb.freebsd.org/changeset/base/289767

Log:
  Stop suggesting -grope argument when -grope argument was actually given

Modified:
  head/usr.sbin/mptable/mptable.c

Modified: head/usr.sbin/mptable/mptable.c
==============================================================================
--- head/usr.sbin/mptable/mptable.c	Thu Oct 22 21:04:47 2015	(r289766)
+++ head/usr.sbin/mptable/mptable.c	Thu Oct 22 21:13:35 2015	(r289767)
@@ -217,7 +217,8 @@ main( int argc, char *argv[] )
     apic_probe( &paddr, &where );
     if ( where <= 0 ) {
         fprintf( stderr, "\n MP FPS NOT found,\n" );
-        fprintf( stderr, " suggest trying -grope option!!!\n\n" );
+        if (!grope)
+            fprintf( stderr, " suggest trying -grope option!!!\n\n" );
         return 1;
     }
 


More information about the svn-src-head mailing list