aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_aoutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxl/libxl_aoutils.c')
-rw-r--r--tools/libxl/libxl_aoutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxl/libxl_aoutils.c b/tools/libxl/libxl_aoutils.c
index 91e34dea95..ee0df57ff5 100644
--- a/tools/libxl/libxl_aoutils.c
+++ b/tools/libxl/libxl_aoutils.c
@@ -230,8 +230,8 @@ static void openpty_exited(libxl__egc *egc, libxl__ev_child *child,
}
int libxl__openptys(libxl__openpty_state *op,
- const struct termios *termp,
- const struct winsize *winp) {
+ struct termios *termp,
+ struct winsize *winp) {
/*
* This is completely crazy. openpty calls grantpt which the spec
* says may fork, and may not be called with a SIGCHLD handler.