aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index 36ca1cf6784..bdab1f8cb8a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3555,14 +3555,14 @@ format; see the description of ADDRESS in `make-network-process'. */)
3555 ifconf.ifc_len = buf_size; 3555 ifconf.ifc_len = buf_size;
3556 if (ioctl (s, SIOCGIFCONF, &ifconf)) 3556 if (ioctl (s, SIOCGIFCONF, &ifconf))
3557 { 3557 {
3558 close (s); 3558 emacs_close (s);
3559 xfree (buf); 3559 xfree (buf);
3560 return Qnil; 3560 return Qnil;
3561 } 3561 }
3562 } 3562 }
3563 while (ifconf.ifc_len == buf_size); 3563 while (ifconf.ifc_len == buf_size);
3564 3564
3565 close (s); 3565 emacs_close (s);
3566 3566
3567 res = Qnil; 3567 res = Qnil;
3568 ifreq = ifconf.ifc_req; 3568 ifreq = ifconf.ifc_req;
@@ -3819,7 +3819,7 @@ FLAGS is the current flags of the interface. */)
3819#endif 3819#endif
3820 res = Fcons (elt, res); 3820 res = Fcons (elt, res);
3821 3821
3822 close (s); 3822 emacs_close (s);
3823 3823
3824 return any ? res : Qnil; 3824 return any ? res : Qnil;
3825} 3825}