diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-04-27 14:33:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-04-27 14:33:59 +0000 |
commit | 83489168c2447e3fe351dbb302b1026dc9fc512c (patch) | |
tree | 8c0029fbf2d97cd352310c6a793bb15745a24ec4 /debug/vsprintf_chk.c | |
parent | 51211e710a024163f91ffd5ed29908faa3cd41e7 (diff) |
Updated to fedora-glibc-20090427T1419cvs/fedora-glibc-2_9_90-22
Diffstat (limited to 'debug/vsprintf_chk.c')
-rw-r--r-- | debug/vsprintf_chk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debug/vsprintf_chk.c b/debug/vsprintf_chk.c index 6538064dce..22cb2c7ad9 100644 --- a/debug/vsprintf_chk.c +++ b/debug/vsprintf_chk.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1997, 1999-2003, 2004, 2006 +/* Copyright (C) 1994, 1997, 1999-2003, 2004, 2006, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -75,7 +75,7 @@ ___vsprintf_chk (char *s, int flags, size_t slen, const char *format, __chk_fail (); _IO_no_init (&f._sbf._f, _IO_USER_LOCK, -1, NULL, NULL); - _IO_JUMPS ((struct _IO_FILE_plus *) &f._sbf) = &_IO_str_chk_jumps; + _IO_JUMPS (&f._sbf) = &_IO_str_chk_jumps; s[0] = '\0'; _IO_str_init_static_internal (&f, s, slen - 1, s); @@ -84,7 +84,7 @@ ___vsprintf_chk (char *s, int flags, size_t slen, const char *format, if (flags > 0) f._sbf._f._flags2 |= _IO_FLAGS2_FORTIFY; - ret = INTUSE(_IO_vfprintf) ((_IO_FILE *) &f._sbf, format, args); + ret = INTUSE(_IO_vfprintf) (&f._sbf._f, format, args); *f._sbf._f._IO_write_ptr = '\0'; return ret; |