Thread (13 messages) 13 messages, 2 authors, 2012-11-29

Re: Fwd: Re: [PATCH] net: ipv6: change %8s to %s for rt->dst.dev->name in seq_printf of rt6_info_route

From: Chen Gang <hidden>
Date: 2012-11-27 05:51:33

于 2012年11月27日 13:40, Chen Gang 写道:
and now, I think:
  A) both input and output through /proc/* are for os api level.
  B) but both %8s and %s do not change the output interface format (including contents, topology, separator mark, space redundancy).
  C) so it is belong to 'User Experience', not belong to os api.

  welcome any another members to giving suggestions and completions.

  thanks.

  :-)
  completion: 8 right alignment is not belong to interface format.
    if it was belong to interface format,
    it would cause correctness issue (the name len may be larger than 8).
    so if "8 right alignment" is belong to os api, it means the api is not correct, need change.

  :-)

-- 
Chen Gang

Asianux Corporation
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help