summaryrefslogtreecommitdiff
path: root/term/ptyio.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-12-14 01:06:37 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-12-17 23:57:00 +0100
commit6b494f5e7599ece2ca981472d690db3df3133bde (patch)
tree82ea19a196c6e4c8c53ddce4d1528e92b9751cb1 /term/ptyio.c
parentb1d240be9b36a1db738e1357081987873be94636 (diff)
Update server handlers to return kern_return_error to fix -Werror=enum-int-mismatch warningsv0.9.git20231217
MiG expects those to return kern_return_t. Message-ID: <ZXqbbXpVqQAwd2qv@jupiter.tail36e24.ts.net>
Diffstat (limited to 'term/ptyio.c')
-rw-r--r--term/ptyio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/term/ptyio.c b/term/ptyio.c
index 51f38078..73a99e24 100644
--- a/term/ptyio.c
+++ b/term/ptyio.c
@@ -511,7 +511,7 @@ pty_io_select (struct trivfs_protid *cred, mach_port_t reply,
}
}
-error_t
+kern_return_t
S_tioctl_tiocsig (struct trivfs_protid *cred,
int sig)
{
@@ -533,7 +533,7 @@ S_tioctl_tiocsig (struct trivfs_protid *cred,
return 0;
}
-error_t
+kern_return_t
S_tioctl_tiocpkt (struct trivfs_protid *cred,
int mode)
{
@@ -561,7 +561,7 @@ S_tioctl_tiocpkt (struct trivfs_protid *cred,
return err;
}
-error_t
+kern_return_t
S_tioctl_tiocucntl (struct trivfs_protid *cred,
int mode)
{
@@ -589,7 +589,7 @@ S_tioctl_tiocucntl (struct trivfs_protid *cred,
return err;
}
-error_t
+kern_return_t
S_tioctl_tiocremote (struct trivfs_protid *cred,
int how)
{
@@ -608,7 +608,7 @@ S_tioctl_tiocremote (struct trivfs_protid *cred,
return 0;
}
-error_t
+kern_return_t
S_tioctl_tiocext (struct trivfs_protid *cred,
int mode)
{