diff options
author | Andreas Jaeger <aj@suse.de> | 2000-07-06 09:26:45 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-07-06 09:26:45 +0000 |
commit | 71cebc12d3250413a4727dfda638ba1e852c0a96 (patch) | |
tree | a578935b64959b93e5b50473d50239a11525bc09 | |
parent | fe4e204f8f895d71842dad519905777011d4038f (diff) | |
download | glibc-71cebc12d3250413a4727dfda638ba1e852c0a96.zip glibc-71cebc12d3250413a4727dfda638ba1e852c0a96.tar.gz glibc-71cebc12d3250413a4727dfda638ba1e852c0a96.tar.bz2 |
Update.
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
Initialize result.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/getsysstats.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2000-07-06 Andreas Jaeger <aj@suse.de> + * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): + Initialize result. + * math/test-fpucw.c: Include <stdio.h> for printf. 2000-07-05 Greg McGary <greg@mcgary.org> diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c index 45b5eaf..50f7317 100644 --- a/sysdeps/unix/sysv/linux/getsysstats.c +++ b/sysdeps/unix/sysv/linux/getsysstats.c @@ -45,7 +45,7 @@ get_proc_path (char *buffer, size_t bufsize) { struct mntent mount_point; struct mntent *entry; - char *result; + char *result = NULL; char *copy_result; FILE *fp; |