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

From: Arnaldo Carvalho de Melo (gxo.bhuosef@automatedlogic.com)
Date: Thu Aug 14 2003 - 20:25:39 EEST

  • Next message: Stephen Hemminger: "Re: [PATCH] (10/11) netrom - convert /proc interface to seq_file"

    Em Wed, Aug 13, 2003 at 03:46:35PM -0700, Stephen Hemminger escreveu:
    > 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>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to mcidcmei@copywrite-ltd.com
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Thu Aug 14 2003 - 20:20:23 EEST