]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Stop suggesting -grope argument when -grope argument was actually given
authorbapt <bapt@FreeBSD.org>
Thu, 22 Oct 2015 21:13:35 +0000 (21:13 +0000)
committerbapt <bapt@FreeBSD.org>
Thu, 22 Oct 2015 21:13:35 +0000 (21:13 +0000)
usr.sbin/mptable/mptable.c

index 2c29934c337b15e5e6000efd6721fe5dee87830e..c6fca671c223767113210eb6453367f787f4fc68 100644 (file)
@@ -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;
     }