diff --git a/srcpkgs/musl/files/getent.c b/srcpkgs/musl/files/getent.c index 1f97f8f32a..939b46c087 100644 --- a/srcpkgs/musl/files/getent.c +++ b/srcpkgs/musl/files/getent.c @@ -238,7 +238,7 @@ static int networks(int argc, char *argv[]) ne = getnetbyaddr(net, AF_INET); else ne = getnetbyname(argv[i]); - if (ne != NULL) { + if (ne == NULL) { rv = RV_NOTFOUND; break; } diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index 4018e252a7..9869927ed9 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -1,7 +1,7 @@ # Template file for 'musl'. pkgname=musl version=1.1.21 -revision=1 +revision=2 archs="*-musl" build_style=gnu-configure configure_args="--prefix=/usr --disable-gcc-wrapper"