Updated to nixos 25.05
This commit is contained in:
parent
d676d1cae0
commit
8b40b923ee
3 changed files with 6 additions and 6 deletions
2
net_io.c
2
net_io.c
|
|
@ -93,7 +93,7 @@ struct net_service *serviceInit(const char *descr, struct net_writer *writer, he
|
|||
{
|
||||
struct net_service *service;
|
||||
|
||||
if (!(service = calloc(sizeof(*service), 1))) {
|
||||
if (!(service = calloc(1, sizeof(*service)))) {
|
||||
fprintf(stderr, "Out of memory allocating service %s\n", descr);
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue