X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fvolume_id%2Flib%2Fxfs.c;h=3e10560af9c6d34915c52c2da54cce747725f7ab;hb=726687ad48bdececed1e7e44387c50e009e28208;hp=5c1a82e1d37afe6c515ca88dfb2c01267dc79d51;hpb=cdf18948639e56d2e3c71606c72e2f2d239c100b;p=elogind.git diff --git a/extras/volume_id/lib/xfs.c b/extras/volume_id/lib/xfs.c index 5c1a82e1d..3e10560af 100644 --- a/extras/volume_id/lib/xfs.c +++ b/extras/volume_id/lib/xfs.c @@ -45,7 +45,7 @@ int volume_id_probe_xfs(struct volume_id *id, uint64_t off, uint64_t size) { struct xfs_super_block *xs; - info("probing at offset 0x%llx", (unsigned long long) off); + info("probing at offset 0x%llx\n", (unsigned long long) off); xs = (struct xfs_super_block *) volume_id_get_buffer(id, off, 0x200); if (xs == NULL) @@ -56,7 +56,7 @@ int volume_id_probe_xfs(struct volume_id *id, uint64_t off, uint64_t size) volume_id_set_label_raw(id, xs->fname, 12); volume_id_set_label_string(id, xs->fname, 12); - volume_id_set_uuid(id, xs->uuid, UUID_DCE); + volume_id_set_uuid(id, xs->uuid, 0, UUID_DCE); volume_id_set_usage(id, VOLUME_ID_FILESYSTEM); id->type = "xfs";