From 5e975516b906bbf4aea94592595e16631eed6f66 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 20 May 2016 13:20:28 +0200 Subject: btrfs-progs: fix type mismatch in backtrace dumping functions Signed-off-by: David Sterba --- kerncompat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kerncompat.h') diff --git a/kerncompat.h b/kerncompat.h index 574f468..378f055 100644 --- a/kerncompat.h +++ b/kerncompat.h @@ -72,7 +72,7 @@ static inline void print_trace(void) { void *array[MAX_BACKTRACE]; - size_t size; + int size; size = backtrace(array, MAX_BACKTRACE); backtrace_symbols_fd(array, size, 2); -- cgit v1.2.3