Skip to content

Commit

Permalink
sysroot: Fix usage of sd_journal_send on 32 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters authored and openshift-merge-robot committed Oct 22, 2020
1 parent 1b40810 commit 9cc0510
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/daemon/rpmostree-sysroot-upgrader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9cc0510

Please sign in to comment.