diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-14 18:26:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-09-14 18:26:44 +0000 |
commit | 7e48b7e368e745a99d0a8e7bdac8a3dfe6ef83f1 (patch) | |
tree | c3c914b938e11edce54bf4588cbf3b91541b94d7 | |
parent | 08793b5bcbe03a761e77a5b917c1fecbb2c95f0a (diff) |
simplify printing
-rw-r--r-- | sys/arch/powerpc/powerpc/cpu.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/powerpc/powerpc/cpu.c b/sys/arch/powerpc/powerpc/cpu.c index d53d15da666..30cc387d1c3 100644 --- a/sys/arch/powerpc/powerpc/cpu.c +++ b/sys/arch/powerpc/powerpc/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.3 2000/06/15 03:13:59 rahnds Exp $ */ +/* $OpenBSD: cpu.c,v 1.4 2000/09/14 18:26:43 deraadt Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -80,8 +80,6 @@ cpuattach(parent, dev, aux) int cpu, pvr; char name[32]; - printf(": "); - __asm__ ("mfpvr %0" : "=r"(pvr)); cpu = pvr >> 16; switch (cpu) { @@ -120,7 +118,6 @@ cpuattach(parent, dev, aux) break; } sprintf(cpu_model + strlen(cpu_model), " (Revision %x)", pvr & 0xffff); - printf(" %s", cpu_model); - printf("\n"); + printf(": %s\n", cpu_model); } |