summary refs log tree commit diff
path: root/login/pututline_r.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-02 19:47:36 +0000
committerRoland McGrath <roland@gnu.org>1996-06-02 19:47:36 +0000
commit9004bc202e5ea7b8eabca183f4e6c6abe573f802 (patch)
treec7aa3f8254f9f7019c84bfaf1de8a9d7ee18e31c /login/pututline_r.c
parent847242451c6e53156abead29aa47a3f56cfcc928 (diff)
downloadglibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.tar.gz
glibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.tar.xz
glibc-9004bc202e5ea7b8eabca183f4e6c6abe573f802.zip
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/pututline_r.c')
-rw-r--r--login/pututline_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login/pututline_r.c b/login/pututline_r.c
index 824cf3a391..62fc83bd58 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;