summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xzaptel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zaptel.c b/zaptel.c
index d897a2c..14cc238 100755
--- a/zaptel.c
+++ b/zaptel.c
@@ -415,7 +415,7 @@ static char *sigstr(int sig)
case ZT_SIG_EM_E1:
return "E&M-E1";
case ZT_SIG_CLEAR:
- return "ClearChannel";
+ return "Clear";
case ZT_SIG_HDLCRAW:
return "HDLCRAW";
case ZT_SIG_HDLCFCS:
@@ -444,6 +444,8 @@ static int zaptel_proc_read(char *page, char **start, off_t off, int count, int
int x, len = 0;
long span;
+ /* In Linux 2.6, this MUST NOT EXECEED 1024 bytes in one read! */
+
if (off > 0)
return 0;