summaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-07-29 15:59:52 +0000
committerJakub Jelinek <jakub@redhat.com>2005-07-29 15:59:52 +0000
commit1ce6c1300b11dcd825ee372b9354607f5069a6f1 (patch)
tree67990009472995b855931e265aebae3d42649e12 /gmon
parent6220c7e39166e868f668aa70cf3fb88ace484561 (diff)
Updated to fedora-glibc-20050729T1531
Diffstat (limited to 'gmon')
-rw-r--r--gmon/gmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c
index d292454ab5..1e94aaba5f 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);
}