From 71cebc12d3250413a4727dfda638ba1e852c0a96 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 6 Jul 2000 09:26:45 +0000 Subject: Update. * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Initialize result. --- sysdeps/unix/sysv/linux/getsysstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') 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; -- cgit v1.2.3-70-g09d2