diff options
author | grehan <grehan@FreeBSD.org> | 2016-09-12 00:24:56 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2016-09-12 00:24:56 +0000 |
commit | 150e49634a6804d68a621d80f1eef37bcdb1147c (patch) | |
tree | a0b6070083cdecee8a78d809db902a691a573f78 /usr.sbin | |
parent | 3b9de2208a0df71aaa66544186faa5adaf023e6c (diff) | |
download | FreeBSD-src-150e49634a6804d68a621d80f1eef37bcdb1147c.zip FreeBSD-src-150e49634a6804d68a621d80f1eef37bcdb1147c.tar.gz |
MFC r305061
Invert calloc(3) argument order
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bhyve/pci_e82545.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/pci_e82545.c b/usr.sbin/bhyve/pci_e82545.c index 03a324e..54bebd0 100644 --- a/usr.sbin/bhyve/pci_e82545.c +++ b/usr.sbin/bhyve/pci_e82545.c @@ -2273,7 +2273,7 @@ e82545_init(struct vmctx *ctx, struct pci_devinst *pi, char *opts) int mac_provided; /* Setup our softc */ - sc = calloc(sizeof(*sc), 1); + sc = calloc(1, sizeof(*sc)); pi->pi_arg = sc; sc->esc_pi = pi; |