Thread (4 messages) 4 messages, 2 authors, 2003-08-15

Re: [PATCH] (10/11) netrom - convert /proc interface to seq_file

From: Stephen Hemminger <hidden>
Date: 2003-08-14 18:30:25
Also in: linux-hams

On Thu, 14 Aug 2003 14:25:39 -0300
Arnaldo Carvalho de Melo [off-list ref] wrote:
Em Wed, Aug 13, 2003 at 03:46:35PM -0700, Stephen Hemminger escreveu:
quoted
Convert netrom /proc interface to seq_file.

diff -Nru a/include/net/netrom.h b/include/net/netrom.h
--- a/include/net/netrom.h	Wed Aug 13 13:54:19 2003
+++ b/include/net/netrom.h	Wed Aug 13 13:54:19 2003
+		seq_printf(seq, "%-9s ", ax2asc(&nr->user_addr));
+		seq_printf(seq, "%-9s ", ax2asc(&nr->dest_addr));
+		seq_printf(seq, 
+"%-9s %-3s  %02X/%02X %02X/%02X %2d %3d %3d %3d %3lu/%03lu %2lu/%02lu %3lu/%03lu %3lu/%03lu %2d/%02d %3d %5d %5d %ld\n",
<nitpick> why not just one seq_printf call? </nitpick>
ax2asc() returns a pointer to static buffer.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help