diff options
author | Dan Smith <danms@us.ibm.com> | 2009-06-17 00:33:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-17 04:47:47 +0200 |
commit | a7d932af06e8eee2163627d19898e18da5635449 (patch) | |
tree | ddcf5e30e58f9758331f38ace3682f5691f44060 /lib | |
parent | uml: bad macro expansion, parameter is member (diff) | |
download | linux-a7d932af06e8eee2163627d19898e18da5635449.tar.xz linux-a7d932af06e8eee2163627d19898e18da5635449.zip |
utsname.h: make new_utsname fields use the proper length constant
The members of the new_utsname structure are defined with magic numbers
that *should* correspond to the constant __NEW_UTS_LEN+1. Everywhere
else, code assumes this and uses the constant, so this patch makes the
structure match.
Originally suggested by Serge here:
https://lists.linux-foundation.org/pipermail/containers/2009-March/016258.html
Signed-off-by: Dan Smith <danms@us.ibm.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions