Re: [bug+patch] negative inode number in /proc/net/udp

From: Arnaud Giersch (giersch@icps.u-strasbg.fr)
Date: Mon Feb 18 2002 - 16:04:12 EST


There is the same problem with unix sockets.

--- linux.orig/net/unix/af_unix.c Fri Dec 21 18:42:06 2001
+++ linux/net/unix/af_unix.c Mon Feb 18 22:01:29 2002
@@ -1742,7 +1742,7 @@
        {
                unix_state_rlock(s);
 
- len+=sprintf(buffer+len,"%p: %08X %08X %08X %04X %02X %5ld",
+ len+=sprintf(buffer+len,"%p: %08X %08X %08X %04X %02X %5lu",
                        s,
                        atomic_read(&s->refcnt),
                        0,

-- 
Arnaud
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:15 EST