diff options
Diffstat (limited to 'pfinet/pfinet-ops.c')
-rw-r--r-- | pfinet/pfinet-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/pfinet-ops.c b/pfinet/pfinet-ops.c index a61028ef..8e251020 100644 --- a/pfinet/pfinet-ops.c +++ b/pfinet/pfinet-ops.c @@ -49,7 +49,7 @@ S_pfinet_siocgifconf (io_t port, struct ifconf ifc; __mutex_lock (&global_lock); - if (amount < 0) + if (amount == (vm_size_t) -1) { /* Get the needed buffer length. */ ifc.ifc_buf = NULL; |