Updated to nixos 25.05
This commit is contained in:
parent
d676d1cae0
commit
8b40b923ee
3 changed files with 6 additions and 6 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -2,16 +2,16 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1717179513,
|
||||
"narHash": "sha256-vboIEwIQojofItm2xGCdZCzW96U85l9nDW3ifMuAIdM=",
|
||||
"lastModified": 1748026580,
|
||||
"narHash": "sha256-rWtXrcIzU5wm/C8F9LWvUfBGu5U5E7cFzPYT1pHIJaQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "63dacb46bf939521bdc93981b4cbb7ecb58427a0",
|
||||
"rev": "11cb3517b3af6af300dd6c055aeda73c9bf52c48",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "24.05",
|
||||
"ref": "25.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
description = "A flake for dump1090 with DL0XK patches.";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/24.05";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/25.05";
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
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