diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-07-28 14:51:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-07-28 14:51:03 +0000 |
commit | 4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4 (patch) | |
tree | 9a37ccba8d4cb04e330a26228d9fe720d1666e94 /gmon/gmon.c | |
parent | eca086a6135354d530a495a4e61b58bdc3fb48ee (diff) | |
download | glibc-4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4.zip glibc-4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4.tar.gz glibc-4c5b09ed6b6a4fc8c0efeea6a474a050179e46c4.tar.bz2 |
* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
call.
* gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
Diffstat (limited to 'gmon/gmon.c')
-rw-r--r-- | gmon/gmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c index d292454..1e94aab 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -331,7 +331,7 @@ write_gmon (void) { size_t len = strlen (env); char buf[len + 20]; - snprintf (buf, sizeof (buf), "%s.%u", env, __getpid ()); + __snprintf (buf, sizeof (buf), "%s.%u", env, __getpid ()); fd = open_not_cancel (buf, O_CREAT|O_TRUNC|O_WRONLY|O_NOFOLLOW, 0666); } |