]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
Fix hw_error messages from arm_timer.c
authorPeter Chubb <peter.chubb@nicta.com.au>
Tue, 22 Nov 2011 03:20:23 +0000 (04:20 +0100)
committerAndrzej Zaborowski <balrog@zabor.org>
Mon, 5 Dec 2011 20:38:41 +0000 (21:38 +0100)
commit4abc7ebf5f00bb53439e2923cd47f7642491abf8
tree29d009570e5165ff057cff3eae0073bb41fafdfb
parenteb5d5beaebd102599a915f6c4813d445ddc9dc84
Fix hw_error messages from arm_timer.c

Two of the calls to hw_error() in arm_timer.c contain the wrong function name.

As suggested by Andreas Färber, use the C99 standard __func__ macro to
get the correct name, instead of putting the name directly into the code.

Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/arm_timer.c