ostree-prepare-root: print st_dev and st_ino as 64-bit ints
This matches what systemd does and should work fine on all platforms. Possibly resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1888436
This commit is contained in:
1 parent
26b98ebc56
commit
dec9eab203
1 file changed
+2
-2
@@ -152,8 +152,8 @@ resolve_deploy_path (const char * root_mountpoint)
|
|||||||
"MESSAGE_ID=" SD_ID128_FORMAT_STR,
|
"MESSAGE_ID=" SD_ID128_FORMAT_STR,
|
||||||
SD_ID128_FORMAT_VAL(OSTREE_PREPARE_ROOT_DEPLOYMENT_MSG),
|
SD_ID128_FORMAT_VAL(OSTREE_PREPARE_ROOT_DEPLOYMENT_MSG),
|
||||||
"DEPLOYMENT_PATH=%s", resolved_path,
|
"DEPLOYMENT_PATH=%s", resolved_path,
|
||||||
"DEPLOYMENT_DEVICE=%u", stbuf.st_dev,
|
"DEPLOYMENT_DEVICE=%" PRIu64, (uint64_t) stbuf.st_dev,
|
||||||
"DEPLOYMENT_INODE=%u", stbuf.st_ino,
|
"DEPLOYMENT_INODE=%" PRIu64, (uint64_t) stbuf.st_ino,
|
||||||
NULL);
|
NULL);
|
||||||
#endif
|
#endif
|
||||||
return deploy_path;
|
return deploy_path;
|
||||||
|
|||||||
Reference in new issue
Block a user