diff options
author | Roland McGrath <roland@gnu.org> | 1996-06-02 19:47:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-06-02 19:47:36 +0000 |
commit | 9004bc202e5ea7b8eabca183f4e6c6abe573f802 (patch) | |
tree | c7aa3f8254f9f7019c84bfaf1de8a9d7ee18e31c /login | |
parent | 847242451c6e53156abead29aa47a3f56cfcc928 (diff) | |
download | glibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.zip glibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.tar.gz glibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.tar.bz2 |
Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
* sysdeps/generic/gnu/types.h (__clock_t): New type.
* sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
using kernel types.
* time/time.h (clock_t): Include <gnu/types.h> and define using
__clock_t.
Diffstat (limited to 'login')
-rw-r--r-- | login/pututline_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login/pututline_r.c b/login/pututline_r.c index 824cf3a..62fc83b 100644 --- a/login/pututline_r.c +++ b/login/pututline_r.c @@ -63,7 +63,7 @@ pututline_r (const struct utmp *id, struct utmp_data *utmp_data) if (utmp_data->ubuf.ut_type != id->ut_type) { /* We must not overwrite the data in UTMP_DATA. */ - struct utmp_data *data_tmp = alloca (sizeof (utmp_data)); + struct utmp_data *data_tmp = alloca (sizeof (*data_tmp)); struct utmp *dummy; *data_tmp = *utmp_data; |