diff options
author | Gleydson Soares <gsoares@cvs.openbsd.org> | 2013-11-23 23:35:03 +0000 |
---|---|---|
committer | Gleydson Soares <gsoares@cvs.openbsd.org> | 2013-11-23 23:35:03 +0000 |
commit | e73482f4be9e03b0926b2e394ccb678161e36eca (patch) | |
tree | 29c07a0ab2b2362cf35fbf1c78ddf090126966b5 | |
parent | 65c5ebc322e6471641e52e77683368f10c0df7e3 (diff) |
fix format string; OK deraadt@
-rw-r--r-- | sys/scsi/mpath_emc.c | 4 | ||||
-rw-r--r-- | sys/scsi/mpath_hds.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/scsi/mpath_emc.c b/sys/scsi/mpath_emc.c index d5d52ba0c15..5db283c5a61 100644 --- a/sys/scsi/mpath_emc.c +++ b/sys/scsi/mpath_emc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath_emc.c,v 1.14 2013/08/27 00:57:43 dlg Exp $ */ +/* $OpenBSD: mpath_emc.c,v 1.15 2013/11/23 23:35:02 gsoares Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -234,7 +234,7 @@ emc_inquiry(struct emc_softc *sc, char *model, char *serial) length = MIN(sc->sc_path.p_link->inqdata.additional_length + 5, 255); if (length < 160) { - printf("%s: FC (Legacy)\n"); + printf("%s: FC (Legacy)\n", DEVNAME(sc)); return (0); } diff --git a/sys/scsi/mpath_hds.c b/sys/scsi/mpath_hds.c index 4a48d384521..cdc8654d632 100644 --- a/sys/scsi/mpath_hds.c +++ b/sys/scsi/mpath_hds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath_hds.c,v 1.12 2013/08/27 00:57:44 dlg Exp $ */ +/* $OpenBSD: mpath_hds.c,v 1.13 2013/11/23 23:35:02 gsoares Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -152,12 +152,12 @@ hds_attach(struct device *parent, struct device *self, void *aux) sc->sc_path.p_link = link; if (hds_inquiry(link, &sc->sc_mode) != 0) { - printf("%s: unable to query controller mode\n"); + printf("%s: unable to query controller mode\n", DEVNAME(sc)); return; } if (hds_info(sc) != 0) { - printf("%s: unable to query path info\n"); + printf("%s: unable to query path info\n", DEVNAME(sc)); return; } |