diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-08-16 17:51:00 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-08-16 17:51:00 +0000 |
commit | d7e60ff8621d5051f0187b6e2e616ba7c0be3346 (patch) | |
tree | 41e577ceb04ccf73a5c4d8ddc036e7134c3b8ca2 /pfinet/linux-inet | |
parent | a9ae662fef8e484de36afdad8ca133a0aefb9c40 (diff) |
entered into RCS
Diffstat (limited to 'pfinet/linux-inet')
-rw-r--r-- | pfinet/linux-inet/proc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pfinet/linux-inet/proc.c b/pfinet/linux-inet/proc.c index aab1cfc3..aec473a2 100644 --- a/pfinet/linux-inet/proc.c +++ b/pfinet/linux-inet/proc.c @@ -154,9 +154,11 @@ int afinet_get_info(char *buffer, char **start, off_t offset, int length) extern int socket_get_info(char *, char **, off_t, int); #ifndef _HURD_ extern struct proto packet_prot; + int len = socket_get_info(buffer,start,offset,length); +#else + int len = 0; #endif - int len = socket_get_info(buffer,start,offset,length); len += sprintf(buffer+len,"SOCK_ARRAY_SIZE=%d\n",SOCK_ARRAY_SIZE); len += sprintf(buffer+len,"TCP: inuse %d highest %d\n", |