diff options
author | Chia-chi Yeh <chiachi@android.com> | 2009-09-22 02:57:52 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2009-09-22 02:57:52 +0800 |
commit | 1cdc2a4b810605ea20306102d99ebb5c9cabc6fb (patch) | |
tree | 712b50aac497a9e7ace77d635742d39fa9fe7c5d /cmds | |
parent | 4654d3143224ee8858f6ef37a8165047dfb17bff (diff) | |
download | frameworks_native-1cdc2a4b810605ea20306102d99ebb5c9cabc6fb.zip frameworks_native-1cdc2a4b810605ea20306102d99ebb5c9cabc6fb.tar.gz frameworks_native-1cdc2a4b810605ea20306102d99ebb5c9cabc6fb.tar.bz2 |
keystore: rename scan() to saw().
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/keystore/keystore.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/keystore/keystore.c b/cmds/keystore/keystore.c index ec4e2a2..ba74c78 100644 --- a/cmds/keystore/keystore.c +++ b/cmds/keystore/keystore.c @@ -291,7 +291,7 @@ static int8_t exist() return NO_ERROR; } -static int8_t scan() +static int8_t saw() { DIR *dir = opendir("."); struct dirent *file; @@ -411,7 +411,7 @@ enum perm { INSERT = 4, DELETE = 8, EXIST = 16, - SCAN = 32, + SAW = 32, RESET = 64, PASSWORD = 128, LOCK = 256, @@ -430,7 +430,7 @@ static struct action { {insert, 'i', NO_ERROR, INSERT, {KEY_SIZE, VALUE_SIZE}}, {delete, 'd', 0, DELETE, {KEY_SIZE}}, {exist, 'e', 0, EXIST, {KEY_SIZE}}, - {scan, 's', 0, SCAN, {KEY_SIZE}}, + {saw, 's', 0, SAW, {KEY_SIZE}}, {reset, 'r', 0, RESET, {0}}, {password, 'p', 0, PASSWORD, {PASSWORD_SIZE, PASSWORD_SIZE}}, {lock, 'l', NO_ERROR, LOCK, {0}}, @@ -446,7 +446,7 @@ static struct user { {AID_SYSTEM, 0, ~GET}, {AID_VPN, AID_SYSTEM, GET}, {AID_WIFI, AID_SYSTEM, GET}, - {0, 0, TEST | GET | INSERT | DELETE | EXIST | SCAN}, + {0, 0, TEST | GET | INSERT | DELETE | EXIST | SAW}, }; static int8_t process(int8_t code) { |