From 490d1b84aa30b75a574bc738ae5c68aff6674d5d Mon Sep 17 00:00:00 2001 From: "ludovic.rousseau" Date: Tue, 16 Jun 2009 09:17:53 +0000 Subject: [PATCH] print_file(): inverse "write" and "erase" Thanks to Aleksey Samsonov for the patch http://www.opensc-project.org/pipermail/opensc-devel/2009-June/012212.html git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3695 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/tools/opensc-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/opensc-tool.c b/src/tools/opensc-tool.c index b69c648b..76c21349 100644 --- a/src/tools/opensc-tool.c +++ b/src/tools/opensc-tool.c @@ -301,7 +301,7 @@ static int print_file(sc_card_t *in_card, const sc_file_t *file, "list" }; const char *ac_ops_ef[] = { - "read", "update", "write", "erase", "rehab", "inval" + "read", "update", "erase", "write", "rehab", "inval" }; for (r = 0; r < depth; r++)