From 2980b71278c1553fd37b5c4b972d01aa593ef3fd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 12 May 2011 17:32:33 -0400 Subject: [PATCH] fix patch again --- format.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/format.patch b/format.patch index 577d5dc..6744611 100644 --- a/format.patch +++ b/format.patch @@ -6,12 +6,12 @@ diff -up gnome-system-monitor-3.1.1/src/load-graph.cpp.format gnome-system-monit new_max = coef10 * (1UL << guint64(base10 * 10)); - procman_debug("bak %lu new_max %lu pow2 %lu coef10 %lu", bak_max, new_max, pow2, coef10); -+ procman_debug("bak " G_GUINT64_FORMAT " new_max " G_GUINT64_FORMAT " pow2 " G_GUINT64_FORMAT " coef10 " G_GUINT64_FORMAT, bak_max, new_max, pow2, coef10); ++ procman_debug("bak %" G_GUINT64_FORMAT " new_max %" G_GUINT64_FORMAT " pow2 %" G_GUINT64_FORMAT " coef10 %" G_GUINT64_FORMAT, bak_max, new_max, pow2, coef10); } if (bak_max > new_max) { - procman_debug("overflow detected: bak=%lu new=%lu", bak_max, new_max); -+ procman_debug("overflow detected: bak=" G_GUINT64_FORMAT " new=" G_GUINT64_FORMAT, bak_max, new_max); ++ procman_debug("overflow detected: bak=%" G_GUINT64_FORMAT " new=%" G_GUINT64_FORMAT, bak_max, new_max); new_max = bak_max; } @@ -20,7 +20,7 @@ diff -up gnome-system-monitor-3.1.1/src/load-graph.cpp.format gnome-system-monit } - procman_debug("rescale dmax = %lu max = %lu new_max = %lu", dmax, g->net.max, new_max); -+ procman_debug("rescale dmax = " G_GUINT64_FORMAT " max = " G_GUINT64_FORMAT " new_max = " G_GUINT64_FORMAT, dmax, g->net.max, new_max); ++ procman_debug("rescale dmax = %" G_GUINT64_FORMAT " max = %" G_GUINT64_FORMAT " new_max = %" G_GUINT64_FORMAT, dmax, g->net.max, new_max); g->net.max = new_max;