mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Tiny printf formatting change: if we have no cpu_vendor or cpu_id info,
don't generate a newline. (Yeah, I'm picking nits, but that empty line I get on my 386 just looks dumb, okay? :)
This commit is contained in:
parent
ffa6d17f61
commit
31e0d8b925
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7994
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.120 1995/04/17 16:49:50 phk Exp $
|
||||
* $Id: machdep.c,v 1.121 1995/04/18 23:55:26 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -537,7 +537,9 @@ identifycpu()
|
||||
printf("\n Features=0x%b", cpu_feature, FEATUREFMT);
|
||||
}
|
||||
}
|
||||
printf("\n");
|
||||
/* Avoid ugly blank lines: only print newline when we have to. */
|
||||
if (*cpu_vendor || cpu_id)
|
||||
printf("\n");
|
||||
#endif
|
||||
/*
|
||||
* Now that we have told the user what they have,
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.120 1995/04/17 16:49:50 phk Exp $
|
||||
* $Id: machdep.c,v 1.121 1995/04/18 23:55:26 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -537,7 +537,9 @@ identifycpu()
|
||||
printf("\n Features=0x%b", cpu_feature, FEATUREFMT);
|
||||
}
|
||||
}
|
||||
printf("\n");
|
||||
/* Avoid ugly blank lines: only print newline when we have to. */
|
||||
if (*cpu_vendor || cpu_id)
|
||||
printf("\n");
|
||||
#endif
|
||||
/*
|
||||
* Now that we have told the user what they have,
|
||||
|
Loading…
Reference in New Issue
Block a user