diff --git a/src/daemon/rpmostree-sysroot-upgrader.c b/src/daemon/rpmostree-sysroot-upgrader.c index 32e77a0a34..7a8e1e9ea5 100644 --- a/src/daemon/rpmostree-sysroot-upgrader.c +++ b/src/daemon/rpmostree-sysroot-upgrader.c @@ -1328,9 +1328,9 @@ write_history (RpmOstreeSysrootUpgrader *self, SD_ID128_FORMAT_VAL(RPMOSTREE_NEW_DEPLOYMENT_MSG), "MESSAGE=Created new deployment /%s", deployment_dirpath, "DEPLOYMENT_PATH=/%s", deployment_dirpath, - "DEPLOYMENT_TIMESTAMP=%ld", stbuf.st_ctime, - "DEPLOYMENT_DEVICE=%u", stbuf.st_dev, - "DEPLOYMENT_INODE=%u", stbuf.st_ino, + "DEPLOYMENT_TIMESTAMP=%" PRIu64, (uint64_t) stbuf.st_ctime, + "DEPLOYMENT_DEVICE=%" PRIu64, (uint64_t) stbuf.st_dev, + "DEPLOYMENT_INODE=%" PRIu64, (uint64_t) stbuf.st_ino, "DEPLOYMENT_CHECKSUM=%s", ostree_deployment_get_csum (new_deployment), "DEPLOYMENT_REFSPEC=%s", rpmostree_origin_get_refspec (self->origin), /* we could use iovecs here and sd_journal_sendv to make these truly