btrfs-progs: fix type mismatch in backtrace dumping functions

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-05-20 13:20:28 +02:00
parent c27db1238a
commit 5e975516b9

View File

@ -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);