summaryrefslogtreecommitdiff
path: root/kerncompat.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-05-20 13:20:28 +0200
committerDavid Sterba <dsterba@suse.com>2016-06-01 14:56:56 +0200
commit5e975516b906bbf4aea94592595e16631eed6f66 (patch)
tree8136c9c7722ab16583864567cf1133abf5938f86 /kerncompat.h
parentc27db1238a0be644fea7d36773a53dd6957c94ba (diff)
btrfs-progs: fix type mismatch in backtrace dumping functions
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'kerncompat.h')
-rw-r--r--kerncompat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerncompat.h b/kerncompat.h
index 574f4682..378f0552 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);