diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-01-19 11:20:21 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2011-01-21 08:22:23 -0500 |
commit | 5a886e2fc5f4b3f062a20f66ee68bad4a0b98ad1 (patch) | |
tree | 0da928efbc186224a72bbd8c71cc3bfddd79d088 /sessreg.c | |
parent | 4eaaa6a84a52b7c60df964102f0fb8d860b00308 (diff) |
config: use AC_CHECK_MEMBERS rather than AC_CHECK_MEMBER
Let Autoconf do the work of setting up the #define in config.h.
Apply and comment standard sections layout.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'sessreg.c')
-rw-r--r-- | sessreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -477,7 +477,7 @@ set_utmpx (struct utmpx *u, const char *line, const char *user, (void) strncpy (u->ut_line, line, sizeof (u->ut_line)); strncpy(u->ut_host, line, sizeof(u->ut_host)); -#if HAVE_UTMPX_UT_SYSLEN +#ifdef HAVE_STRUCT_UTMPX_UT_SYSLEN u->ut_syslen = strlen(line); #endif } |