Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=bea0ae5127048cafea845877e919025f7694e73e

commit bea0ae5127048cafea845877e919025f7694e73e
Author: James Buren <[email protected]>
Date:   Sun Aug 12 21:47:11 2012 -0500

check if partitions is NULL before resetting the list

diff --git a/utility.c b/utility.c
index 4c618bc..cf0c55a 100644
--- a/utility.c
+++ b/utility.c
@@ -304,7 +304,8 @@ extern struct device *read_device_data(const char *path)
++i;
}

-          partitions = list_find_start(partitions);
+          if(partitions)
+            partitions = list_find_start(partitions);
}
}
else
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to