Skip to content

Commit

Permalink
nfscl: Fix parameter order in the calls to MGET().
Browse files Browse the repository at this point in the history
Reviewed by:		imp, rmacklem
Differential Revision:	https://reviews.freebsd.org/D36644
  • Loading branch information
gmshake authored and bsdimp committed Sep 23, 2022
1 parent d4accf6 commit 8b43388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/fs/nfs/nfs_commonsubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ nfsm_dissct(struct nfsrv_descript *nd, int siz, int how)
} else if (siz > ncl_mbuf_mhlen) {
panic("nfs S too big");
} else {
MGET(mp2, MT_DATA, how);
MGET(mp2, how, MT_DATA);
if (mp2 == NULL)
return (NULL);
mp2->m_next = nd->nd_md->m_next;
Expand Down

0 comments on commit 8b43388

Please sign in to comment.