fs: ubootvarfs: use correct format specifier for pointer diff
The difference between two pointers is represented as a ptrdiff_t, use the
correct format specifier when printing to get rid of the following warning
in a 64bit build:

warning: format '%x' expects argument of type 'unsigned int',
but argument 3 has type 'long int' [-Wformat=]

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 660041b commit 5c06691a321c9f0d9e143c52b143366d0428391b
@Lucas Stach Lucas Stach authored on 30 Oct 2019
Sascha Hauer committed on 4 Nov 2019
Showing 1 changed file
View
fs/ubootvarfs.c