mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-22 22:23:32 +00:00
btrfs-progs: fix type mismatch in backtrace dumping functions
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
c27db1238a
commit
5e975516b9
@ -72,7 +72,7 @@
|
|||||||
static inline void print_trace(void)
|
static inline void print_trace(void)
|
||||||
{
|
{
|
||||||
void *array[MAX_BACKTRACE];
|
void *array[MAX_BACKTRACE];
|
||||||
size_t size;
|
int size;
|
||||||
|
|
||||||
size = backtrace(array, MAX_BACKTRACE);
|
size = backtrace(array, MAX_BACKTRACE);
|
||||||
backtrace_symbols_fd(array, size, 2);
|
backtrace_symbols_fd(array, size, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user