File bad-assert-sideeffect of Package trustedgrub

Index: TrustedGRUB-1.1.3/lib/device.c
===================================================================
--- TrustedGRUB-1.1.3.orig/lib/device.c
+++ TrustedGRUB-1.1.3/lib/device.c
@@ -835,9 +835,11 @@ int
 is_disk_device (char **map, int drive)
 {
   struct stat st;
+  int retval;
   
   assert (map[drive] != 0);
-  assert (stat (map[drive], &st) == 0);
+  retval = stat (map[drive], &st);
+  assert (retval == 0);
   /* For now, disk devices under Linux are all block devices.  */
   return S_ISBLK (st.st_mode);
 }