chkdvdimg.c: Name the file when reporting too many trailing zeros.
[dvdrip] / chkdvdimg.c
index 0adc6df..623c50f 100644 (file)
@@ -124,7 +124,7 @@ static void check_img(const char *file)
     if (bb[0] || !all_zero_p(bb, SECTORSZ)) goto nonzero;
   }
   gripe(1, "too many trailing zero sectors: "
-       "couldn't find backup anchor descriptor");
+       "couldn't find backup anchor descriptor in `%s'", file);
   goto end;
 nonzero:
   j = i;