summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 636c738c..5e07b129 100644
--- a/tty.c
+++ b/tty.c
@@ -1,4 +1,4 @@
-/* $Id: tty.c,v 1.1 2007-11-27 19:23:34 nicm Exp $ */
+/* $Id: tty.c,v 1.2 2007-11-27 19:32:15 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -74,6 +74,7 @@ tty_open(struct tty *tty, char **cause)
break;
default:
xasprintf(cause, "unknown error");
+ break;
}
return (-1);
}