From d7e60ff8621d5051f0187b6e2e616ba7c0be3346 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 16 Aug 1995 17:51:00 +0000 Subject: entered into RCS --- pfinet/linux-inet/proc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pfinet/linux-inet/proc.c') 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", -- cgit v1.2.3