Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2017 16:50:53 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r311104 - head/sys/vm
Message-ID:  <201701021650.v02Goras089052@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Mon Jan  2 16:50:52 2017
New Revision: 311104
URL: https://svnweb.freebsd.org/changeset/base/311104

Log:
  Print flags in hex instead of decimal.
  
  Hex is easier to grok for flags, and consistent with other prints.

Modified:
  head/sys/vm/uma_core.c

Modified: head/sys/vm/uma_core.c
==============================================================================
--- head/sys/vm/uma_core.c	Mon Jan  2 15:19:22 2017	(r311103)
+++ head/sys/vm/uma_core.c	Mon Jan  2 16:50:52 2017	(r311104)
@@ -1184,7 +1184,7 @@ page_free(void *mem, vm_size_t size, uin
 	else if (flags & UMA_SLAB_KERNEL)
 		vmem = kernel_arena;
 	else
-		panic("UMA: page_free used with invalid flags %d", flags);
+		panic("UMA: page_free used with invalid flags %x", flags);
 
 	kmem_free(vmem, (vm_offset_t)mem, size);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701021650.v02Goras089052>