summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/pcmcia.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-03 07:59:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-03 07:59:42 +0000
commit6edef3c9ab1c6d9154f052164e420a5f601caa6f (patch)
treef313a7db2aa7299a15b5d51c897ccead584fa561 /sys/dev/pcmcia/pcmcia.c
parent7ff407e1e3b982c7a5ee026d48d5b45437673e2c (diff)
prettier printf messages
Diffstat (limited to 'sys/dev/pcmcia/pcmcia.c')
-rw-r--r--sys/dev/pcmcia/pcmcia.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/pcmcia.c b/sys/dev/pcmcia/pcmcia.c
index f37de3ef3a4..ea06da22e63 100644
--- a/sys/dev/pcmcia/pcmcia.c
+++ b/sys/dev/pcmcia/pcmcia.c
@@ -1,4 +1,4 @@
-/* $Id: pcmcia.c,v 1.3 1996/04/29 14:17:15 hvozda Exp $ */
+/* $Id: pcmcia.c,v 1.4 1996/05/03 07:59:40 deraadt Exp $ */
/*
* Copyright (c) 1996 John T. Kohl. All rights reserved.
* Copyright (c) 1994 Stefan Grefen. All rights reserved.
@@ -356,7 +356,7 @@ pcmcia_probedev(link, cardinfo)
PPRINTF(("- pcmcia_probe_dev\n"));
- printf("%s: slot %d ", ((struct device *) link->bus)->dv_xname, slot);
+ printf("%s slot %d: ", ((struct device *) link->bus)->dv_xname, slot);
/* turn off power in case it's on, to get a fresh start on things: */
PCMCIA_SERVICE(pca, link, PCMCIA_OP_POWER, 0, 0);
@@ -367,7 +367,7 @@ pcmcia_probedev(link, cardinfo)
}
if (ISSET(card_stat, PCMCIA_CARD_PRESENT) == 0) {
- printf("is empty\n");
+ printf("empty\n");
return NULL;
}
@@ -406,7 +406,7 @@ pcmcia_probedev(link, cardinfo)
goto bad;
}
- printf("contains <%s, %s", cardinfo->manufacturer, cardinfo->model);
+ printf("<%s, %s", cardinfo->manufacturer, cardinfo->model);
if (cardinfo->add_info1[0])
printf(", %s", cardinfo->add_info1);
if (cardinfo->add_info2[0])