Skip to content

Commit

Permalink
Merge pull request #2219 from jlebon/pr/fix-inode-print-format
Browse files Browse the repository at this point in the history
ostree-prepare-root: print st_dev and st_ino as 64-bit ints
  • Loading branch information
openshift-merge-robot authored Oct 15, 2020
2 parents 5d56579 + dec9eab commit e2d5e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/switchroot/ostree-prepare-root.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ resolve_deploy_path (const char * root_mountpoint)
"MESSAGE_ID=" SD_ID128_FORMAT_STR,
SD_ID128_FORMAT_VAL(OSTREE_PREPARE_ROOT_DEPLOYMENT_MSG),
"DEPLOYMENT_PATH=%s", resolved_path,
"DEPLOYMENT_DEVICE=%u", stbuf.st_dev,
"DEPLOYMENT_INODE=%u", stbuf.st_ino,
"DEPLOYMENT_DEVICE=%" PRIu64, (uint64_t) stbuf.st_dev,
"DEPLOYMENT_INODE=%" PRIu64, (uint64_t) stbuf.st_ino,
NULL);
#endif
return deploy_path;
Expand Down

0 comments on commit e2d5e38

Please sign in to comment.