mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 06:25:32 +08:00
Update to FreeBSD head 2018-06-01
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
This commit is contained in:
@@ -162,7 +162,7 @@ printgroup(const char *groupname)
|
||||
if (ioctl(s, SIOCGIFGMEMB, (caddr_t)&ifgr) == -1) {
|
||||
if (errno == EINVAL || errno == ENOTTY ||
|
||||
errno == ENOENT)
|
||||
exit(0);
|
||||
exit(exit_code);
|
||||
else
|
||||
err(1, "SIOCGIFGMEMB");
|
||||
}
|
||||
@@ -181,7 +181,7 @@ printgroup(const char *groupname)
|
||||
}
|
||||
free(ifgr.ifgr_groups);
|
||||
|
||||
exit(0);
|
||||
exit(exit_code);
|
||||
}
|
||||
|
||||
static struct cmd group_cmds[] = {
|
||||
|
Reference in New Issue
Block a user