[PATCH] test: Fix make syntax-check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is currently failing with:

GEN      sc_bracket_spacing_check
test/test-isodetect.c:153:             blk_size = (gint64) atoll (line + 23);
test/test-isodetect.c:155:             vol_size = atoll (line + 16);
---
 test/test-isodetect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test-isodetect.c b/test/test-isodetect.c
index a051df7..b427d54 100644
--- a/test/test-isodetect.c
+++ b/test/test-isodetect.c
@@ -150,9 +150,9 @@ static struct ISOInfo *load_iso(GFile *file, const gchar *shortid, const gchar *
                                     OSINFO_MEDIA_PROP_APPLICATION_ID,
                                     line + 16);
         } else if (g_str_has_prefix(line, "Logical block size is:")) {
-            blk_size = (gint64) atoll (line + 23);
+            blk_size = (gint64) atoll(line + 23);
         } else if (g_str_has_prefix(line, "Volume size is:")) {
-            vol_size = atoll (line + 16);
+            vol_size = atoll(line + 16);
         }
     }
 
-- 
2.4.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux