diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-11 16:58:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-11 16:58:18 +0200 |
commit | 932302666b0354ede63504d1bef8393cab28db8b (patch) | |
tree | a27e5c53a191aae959bbf2da24b6e679146b8a65 | |
parent | 69c8c699aaa69e281e4a01be0f48a6498d3ac7cb (diff) |
randconfig fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/last.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/last.c b/miscutils/last.c index 6d8b58463..f8f34371a 100644 --- a/miscutils/last.c +++ b/miscutils/last.c @@ -34,7 +34,8 @@ && ((UT_LINESIZE != 32) || (UT_NAMESIZE != 32) || (UT_HOSTSIZE != 256)) #error struct utmpx member char[] size(s) have changed! #elif defined __UT_LINESIZE \ - && ((__UT_LINESIZE != 32) || (__UT_NAMESIZE != 64) || (__UT_HOSTSIZE != 256)) + && ((__UT_LINESIZE != 32) || (__UT_NAMESIZE != 32) || (__UT_HOSTSIZE != 256)) +/* __UT_NAMESIZE was checked with 64 above, but glibc-2.11 definitely uses 32! */ #error struct utmpx member char[] size(s) have changed! #endif |