summaryrefslogtreecommitdiffstats
path: root/src/getfd.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-02-19 16:14:22 -0500
committerWilliam Jon McCann <mccann@jhu.edu>2007-02-19 16:14:22 -0500
commit5376650940e9018a0d3e97367d2979f90af749bc (patch)
tree02df552b9184fbe4b8d948928ccb03f78079dccf /src/getfd.c
parent4d7e3eec89f706cb9a46fd84359de3da1868245d (diff)
handle the no console fd case better
Don't spew warnings when getfd() can't find a suitable console fd. Also add a comment to note where getfd.c comes from.
Diffstat (limited to 'src/getfd.c')
-rw-r--r--src/getfd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/getfd.c b/src/getfd.c
index 6053cfe..2ddcf01 100644
--- a/src/getfd.c
+++ b/src/getfd.c
@@ -1,3 +1,9 @@
+/*
+ * Copied from kbd-1.12
+ * License: GPL
+ *
+ */
+
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>