diff options
author | Nathan Scott <nathans@redhat.com> | 2021-11-05 09:22:09 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-11-05 09:22:09 +1100 |
commit | e7a8d14cbd7bbb896e64effed5bc6fb023777d36 (patch) | |
tree | 2205decb7189f3664220be0d053bb5137e1ae37c /openbsd | |
parent | 21cb1c4d599f1400de40703396210c17bc4acfe9 (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 'openbsd')
-rw-r--r-- | openbsd/OpenBSDProcess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/OpenBSDProcess.c b/openbsd/OpenBSDProcess.c index fe9018d2..ac3def3a 100644 --- a/openbsd/OpenBSDProcess.c +++ b/openbsd/OpenBSDProcess.c @@ -203,7 +203,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { }; Process* OpenBSDProcess_new(const Settings* settings) { - OpenBSDProcess* this = xCalloc(sizeof(OpenBSDProcess), 1); + OpenBSDProcess* this = xCalloc(1, sizeof(OpenBSDProcess)); Object_setClass(this, Class(OpenBSDProcess)); Process_init(&this->super, settings); return &this->super; |