summaryrefslogtreecommitdiff
path: root/ioops.c
diff options
context:
space:
mode:
Diffstat (limited to 'ioops.c')
-rw-r--r--ioops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ioops.c b/ioops.c
index 07cce9c..e2b9136 100644
--- a/ioops.c
+++ b/ioops.c
@@ -58,7 +58,7 @@ void pipe_or_die(int pipefd[2], int flags)
panic("Cannot create pipe2 event fd! %s.\n", strerror(errno));
}
-int tun_open_or_die(char *name, int type)
+int tun_open_or_die(const char *name, int type)
{
int fd, ret;
short flags;