X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fslice-color.c;h=f77ff88278390fb90a7fbbee7fb545daea8c40d6;hb=ea4f9ce8a060d53cbc299e4c384089f6cc926caa;hp=c4a417d2467d58497998dee6dded579cfa3eef1b;hpb=63adeda0861a26b38ec0adc76255666554c18951;p=platform%2Fupstream%2Fglib.git
diff --git a/tests/slice-color.c b/tests/slice-color.c
index c4a417d..f77ff88 100644
--- a/tests/slice-color.c
+++ b/tests/slice-color.c
@@ -12,9 +12,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library; if not, see .
*/
#include
#include
@@ -131,13 +129,14 @@ main (int argc,
/* basic sanity checks */
if (!block_size || !n_blocks || block_size >= area_size)
{
- g_printerr ("Invalid arguments: block-size=%llu memory-size=%llu\n", block_size, area_size);
+ g_printerr ("Invalid arguments: block-size=%" G_GUINT64_FORMAT " memory-size=%" G_GUINT64_FORMAT "\n", block_size, area_size);
usage();
return 1;
}
- g_printerr ("Will allocate and touch %llu blocks of %llu bytes (= %llu bytes) %llu times with color increment: 0x%08llx\n",
- n_blocks, block_size, n_blocks * block_size, repeats, g_slice_get_config (G_SLICE_CONFIG_COLOR_INCREMENT));
+ g_printerr ("Will allocate and touch %" G_GUINT64_FORMAT " blocks of %" G_GUINT64_FORMAT " bytes (= %" G_GUINT64_FORMAT " bytes) %" G_GUINT64_FORMAT " times with color increment: 0x%08" G_GINT64_MODIFIER "x\n",
+ n_blocks, block_size, n_blocks * block_size, repeats,
+ (guint64)g_slice_get_config (G_SLICE_CONFIG_COLOR_INCREMENT));
touch_mem (block_size, n_blocks, repeats);