diff options
author | Marius Strobl <marius@FreeBSD.org> | 2019-04-09 19:48:01 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2019-04-09 19:48:01 +0000 |
commit | 2caea3ae04ac79faf00e8e574359588247a63b04 (patch) | |
tree | 791c562ffcace928e2693bc4565ec404fce6695b /sysutils/mmc-utils/files/patch-mmc__cmds.c | |
parent | print/py-trml2pdf: Change RUN_DEPENDS to print/py-reportlab (diff) |
Update to mmc-utils as of 20181214, improving handling of RPMB partitions.
Notes
Notes:
svn path=/head/; revision=498514
Diffstat (limited to 'sysutils/mmc-utils/files/patch-mmc__cmds.c')
-rw-r--r-- | sysutils/mmc-utils/files/patch-mmc__cmds.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/mmc-utils/files/patch-mmc__cmds.c b/sysutils/mmc-utils/files/patch-mmc__cmds.c index 48b6de071de0..e58640a03985 100644 --- a/sysutils/mmc-utils/files/patch-mmc__cmds.c +++ b/sysutils/mmc-utils/files/patch-mmc__cmds.c @@ -1,4 +1,4 @@ ---- mmc_cmds.c.orig 2018-02-26 22:10:51 UTC +--- mmc_cmds.c.orig 2018-12-26 19:54:04 UTC +++ mmc_cmds.c @@ -28,7 +28,12 @@ #include <errno.h> @@ -53,3 +53,12 @@ if (reg & 0x20) printf(" HS200 Single Data Rate eMMC @200MHz 1.2VI/O\n"); if (reg & 0x10) printf(" HS200 Single Data Rate eMMC @200MHz 1.8VI/O\n"); if (reg & 0x08) printf(" HS Dual Data Rate eMMC @52MHz 1.2VI/O\n"); +@@ -1883,7 +1904,7 @@ static int do_rpmb_op(int fd, + u_int16_t rpmb_type; + struct mmc_ioc_multi_cmd *mioc; + struct mmc_ioc_cmd *ioc; +- struct rpmb_frame frame_status = {0}; ++ struct rpmb_frame frame_status = {{0}}; + + if (!frame_in || !frame_out || !out_cnt) + return -EINVAL; |