The fprintf format for UNIQID= was missing a trailing space separator,
causing the field to run into the next field (e.g.,
"UNIQID=2147492389SRC=tmpfs").
Signed-off-by: Karel Zak <kzak@redhat.com>
if (mnt_fs_get_id(fs) > 0)
rc = fprintf(f, "ID=%d ", mnt_fs_get_id(fs));
if (mnt_fs_get_uniq_id(fs) > 0)
- rc = fprintf(f, "UNIQID=%" PRIu64, mnt_fs_get_uniq_id(fs));
+ rc = fprintf(f, "UNIQID=%" PRIu64 " ", mnt_fs_get_uniq_id(fs));
if (rc >= 0) {
p = mangle(mnt_fs_get_source(fs));