From cf2e81fb1adea0ca59a57745840a355a0eb4dbe6 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 7 Apr 2012 14:36:54 +0200 Subject: [PATCH] kernel/pci: Adjust MSI allocation verbose message a bit. --- sys/bus/pci/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/bus/pci/pci.c b/sys/bus/pci/pci.c index 3091e10f21..125ec847bf 100644 --- a/sys/bus/pci/pci.c +++ b/sys/bus/pci/pci.c @@ -1919,8 +1919,8 @@ pci_alloc_msi_method(device_t dev, device_t child, int *rid, int count, if (bootverbose) { device_printf(child, - "attempting to allocate %d MSI vectors (%d supported)\n", - count, cfg->msi.msi_msgnum); + "attempting to allocate %d MSI vector%s (%d supported)\n", + count, count > 1 ? "s" : "", cfg->msi.msi_msgnum); } if (start_cpuid < 0) -- 2.41.0