about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/getsysstats.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-06 09:26:45 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-06 09:26:45 +0000
commit71cebc12d3250413a4727dfda638ba1e852c0a96 (patch)
treea578935b64959b93e5b50473d50239a11525bc09 /sysdeps/unix/sysv/linux/getsysstats.c
parentfe4e204f8f895d71842dad519905777011d4038f (diff)
downloadglibc-71cebc12d3250413a4727dfda638ba1e852c0a96.tar.gz
glibc-71cebc12d3250413a4727dfda638ba1e852c0a96.tar.xz
glibc-71cebc12d3250413a4727dfda638ba1e852c0a96.zip
Update.
	* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
	Initialize result.
Diffstat (limited to 'sysdeps/unix/sysv/linux/getsysstats.c')
-rw-r--r--sysdeps/unix/sysv/linux/getsysstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c
index 45b5eafb00..50f7317dae 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;