Browse Source

would help if i used the right variable name ...

Mike Frysinger 19 years ago
parent
commit
ab328b6481
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldso/ldso/ldso.c

+ 1 - 1
ldso/ldso/ldso.c

@@ -139,7 +139,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr,
 	 * setup so we can use _dl_dprintf() to print debug noise
 	 * instead of the SEND_STDERR macros used in dl-startup.c */
 
-	_dl_memset(&app_tpnt_rel, 0x00, sizeof(app_tpnt_rel));
+	_dl_memset(app_tpnt, 0x00, sizeof(*app_tpnt));
 
 	/* Store the page size for later use */
 	_dl_pagesize = (auxvt[AT_PAGESZ].a_un.a_val) ? (size_t) auxvt[AT_PAGESZ].a_un.a_val : PAGE_SIZE;