fix patch
This commit is contained in:
parent
a6d066deb9
commit
b75e3ec6d7
@ -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 %lu 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_GUIN64_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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user