summaryrefslogtreecommitdiffstats
path: root/netbsd
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-11-05 09:22:09 +1100
committerNathan Scott <nathans@redhat.com>2021-11-05 09:22:09 +1100
commite7a8d14cbd7bbb896e64effed5bc6fb023777d36 (patch)
tree2205decb7189f3664220be0d053bb5137e1ae37c /netbsd
parent21cb1c4d599f1400de40703396210c17bc4acfe9 (diff)
Correct the order of xCalloc parameters in a couple of places
No functional change. Thanks to @BenBE for pointing these out.
Diffstat (limited to 'netbsd')
-rw-r--r--netbsd/NetBSDProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netbsd/NetBSDProcess.c b/netbsd/NetBSDProcess.c
index f80db5bd..8d2b4c40 100644
--- a/netbsd/NetBSDProcess.c
+++ b/netbsd/NetBSDProcess.c
@@ -211,7 +211,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
};
Process* NetBSDProcess_new(const Settings* settings) {
- NetBSDProcess* this = xCalloc(sizeof(NetBSDProcess), 1);
+ NetBSDProcess* this = xCalloc(1, sizeof(NetBSDProcess));
Object_setClass(this, Class(NetBSDProcess));
Process_init(&this->super, settings);
return &this->super;

© 2014-2024 Faster IT GmbH | imprint | privacy policy