diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-22 02:53:36 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-22 02:53:36 +0200 |
commit | 6c92f6696e129aed2084d199d1522005e2747ea7 (patch) | |
tree | d54752f998d8a33142ce7ab93f0fcc4e24947137 /lwip | |
parent | 8a430c94a36b142dddd82c6596d7224e792f2006 (diff) | |
download | hurd-6c92f6696e129aed2084d199d1522005e2747ea7.tar.gz hurd-6c92f6696e129aed2084d199d1522005e2747ea7.tar.bz2 hurd-6c92f6696e129aed2084d199d1522005e2747ea7.zip |
lwip: Fix warning
Diffstat (limited to 'lwip')
-rw-r--r-- | lwip/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwip/main.c b/lwip/main.c index 0d7c9d6b..ff9051db 100644 --- a/lwip/main.c +++ b/lwip/main.c @@ -161,7 +161,7 @@ translator_bind (int portclass, const char *name) if (!err) { - if (lwip_protid_portclasses[portclass] != MACH_PORT_NULL) + if (lwip_protid_portclasses[portclass] != NULL) error (1, 0, "Cannot bind one protocol to multiple nodes.\n"); err = @@ -221,7 +221,7 @@ main (int argc, char **argv) error (-1, 0, "Must be started as a translator"); /* Create portclass to install on the bootstrap port. */ - if (lwip_protid_portclasses[lwip_bootstrap_portclass] != MACH_PORT_NULL) + if (lwip_protid_portclasses[lwip_bootstrap_portclass] != NULL) error (1, 0, "No portclass left to assign to bootstrap port"); err = |