diff options
author | Matt Reimer <mreimer@sdgsystems.com> | 2012-05-30 10:31:13 -0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-06-13 02:39:22 +0200 |
commit | 6979325592dd421ae4b02817ac8ac9ba5f362382 (patch) | |
tree | 600d125df12860cb8e028e5a0c671dcb7ce5a222 /libbb/xfuncs_printf.c | |
parent | 772f17a8433b8572e1bf08b024fbf1f4e78395a3 (diff) | |
download | busybox-6979325592dd421ae4b02817ac8ac9ba5f362382.tar.gz |
nanddump: make dumping read-only partitions work
Make dumping read-only partitions work by opening the device
O_RDONLY; otherwise the open() will fail with -EPERM.
Signed-off-by: Matt Reimer <mreimer@sdgsystems.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/xfuncs_printf.c')
0 files changed, 0 insertions, 0 deletions