]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix bogus initialization in virFindFileInPath
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Jun 2009 11:08:28 +0000 (11:08 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Jun 2009 11:08:28 +0000 (11:08 +0000)
ChangeLog
src/util.c

index abb5613b6d05b96c11f853787143695f50d33d00..a8aabd09c117d44e92d563963f8466bc9eab1489 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jun 15 12:05:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
+
+       * src/util.c: Fix bogus initialization in virFindFileInPath
+
 Fri Jun 12 14:16:42 BST 2009 Daniel P. Berrange <berrange@redhat.com>
 
        Remove use of getuid()==0 for privilege checks
index 664fb0f7cf9c053114a63bf1537845bc0fd1d42a..d8ab37f7e4eae4ab9798199f1359db4cb3d25a0b 100644 (file)
@@ -1082,7 +1082,7 @@ int virFileResolveLink(const char *linkpath,
 char *virFindFileInPath(const char *file)
 {
     char pathenv[PATH_MAX];
-    char *penv = &pathenv; /* this is for glibc 2.10 strsep chnages */
+    char *penv = pathenv;
     char *pathseg;
     char fullpath[PATH_MAX];