Updated to nixos 25.05

This commit is contained in:
Sebastian 2025-05-24 15:38:52 +02:00
parent d676d1cae0
commit 8b40b923ee
3 changed files with 6 additions and 6 deletions

View file

@ -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);
}