From: Christian Hergert Date: Wed, 8 Mar 2017 06:48:51 +0000 (-0800) Subject: repo/checkout: fix 32-bit builds X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~40^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=031d7898ccb4ab4aa5fe994b016cb785dad2b895;p=ostree.git repo/checkout: fix 32-bit builds __dev_t is 64-bit even on 32-bit Linux systems such as i386. Closes: #724 Approved by: cgwalters --- diff --git a/src/libostree/ostree-repo-checkout.c b/src/libostree/ostree-repo-checkout.c index 53409529..77bda09a 100644 --- a/src/libostree/ostree-repo-checkout.c +++ b/src/libostree/ostree-repo-checkout.c @@ -706,8 +706,8 @@ checkout_tree_at (OstreeRepo *self, if (options->no_copy_fallback && repo_dfd_stat.st_dev != destination_stat.st_dev) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - "Unable to do hardlink checkout across devices (src=%lu destination=%lu)", - repo_dfd_stat.st_dev, destination_stat.st_dev); + "Unable to do hardlink checkout across devices (src=%"G_GUINT64_FORMAT" destination=%"G_GUINT64_FORMAT")", + (guint64)repo_dfd_stat.st_dev, (guint64)destination_stat.st_dev); goto out; }