diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-08-28 18:34:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-08-28 18:34:39 +0000 |
commit | 3a751c740f25666498ccb5d7c20b3cbf053571f3 (patch) | |
tree | f8c870157811197b4a33176af0172134b0380501 /sys/dev/pcmcia/if_malo.c | |
parent | 6a96d38dabb00c1e4597e3571071aa5a61c15b16 (diff) |
unify firmware load failure messages; ok mglocker
Diffstat (limited to 'sys/dev/pcmcia/if_malo.c')
-rw-r--r-- | sys/dev/pcmcia/if_malo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pcmcia/if_malo.c b/sys/dev/pcmcia/if_malo.c index 65e661b9377..4de381f3111 100644 --- a/sys/dev/pcmcia/if_malo.c +++ b/sys/dev/pcmcia/if_malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_malo.c,v 1.55 2007/08/14 22:33:17 mglocker Exp $ */ +/* $OpenBSD: if_malo.c,v 1.56 2007/08/28 18:34:38 deraadt Exp $ */ /* * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> @@ -452,8 +452,8 @@ cmalo_fw_load_helper(struct malo_softc *sc) /* read helper firmware image */ if ((error = loadfirmware(name, &ucode, &usize)) != 0) { - printf("%s: can't read microcode %s (error %d)!\n", - sc->sc_dev.dv_xname, name, error); + printf("%s: error %d, could not read firmware %s\n", + sc->sc_dev.dv_xname, error, name); return (EIO); } @@ -511,8 +511,8 @@ cmalo_fw_load_main(struct malo_softc *sc) /* read main firmware image */ if ((error = loadfirmware(name, &ucode, &usize)) != 0) { - printf("%s: can't read microcode %s (error %d)!\n", - sc->sc_dev.dv_xname, name, error); + printf("%s: error %d, could not read firmware %s\n", + sc->sc_dev.dv_xname, error, name); return (EIO); } |