diff --git a/share/man/man9/bus_alloc_resource.9 b/share/man/man9/bus_alloc_resource.9
index 6a5443afacb8..37a84db15b14 100644
--- a/share/man/man9/bus_alloc_resource.9
+++ b/share/man/man9/bus_alloc_resource.9
@@ -159,7 +159,7 @@ and
 .Va irqid
 should be saved in the softc of the device after these calls.
 .Bd -literal
-	struct resource *portres, irqres;
+	struct resource *portres, *irqres;
 	int portid, irqid;
 
 	portid = 0;