[Libosinfo] [PATCH] test: Fix make syntax-check
Christophe Fergeau
cfergeau at redhat.com
Tue May 12 12:59:19 UTC 2015
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
More information about the Libosinfo
mailing list