Commit Graph

2 Commits

Author SHA1 Message Date
Thomas Petazzoni 2b04f8bf13 devmem2: use a patch that actually applies
The patch provided by Colin Didier and Maxime Hadjinlian was not
applying properly. Fixes:

  http://autobuild.buildroot.org/results/c45/c45eb706fb35ffc87fede777c3d20479a90872ae/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-29 16:28:42 +02:00
Colin Didier c614884730 devmem2: fix output when _FILE_OFFSET_BITS=64
When built with _FILE_OFFSET_BITS=64, off_t becomes an long long int
and was printed as an unsigned int which lead to a garbled output.

Signed-off-by: Colin Didier <colin.didier@devialet.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-29 12:43:29 +02:00