[Replicant] [libsamsung-ipc][PATCH 2/4] Fix ipc_sec_lock_infomation_request_data typo

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Thu Jun 11 10:25:23 UTC 2020


Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 include/sec.h     | 4 ++--
 samsung-ipc/sec.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/sec.h b/include/sec.h
index 0d27a03..140a5aa 100644
--- a/include/sec.h
+++ b/include/sec.h
@@ -150,7 +150,7 @@ struct ipc_sec_sim_icc_type_data {
     unsigned char type; // IPC_SEC_SIM_CARD_TYPE
 } __attribute__((__packed__));
 
-struct ipc_sec_lock_infomation_request_data {
+struct ipc_sec_lock_information_request_data {
     unsigned char magic;
     unsigned char type; // IPC_SEC_PIN_TYPE
 } __attribute__((__packed__));
@@ -179,7 +179,7 @@ void *ipc_sec_rsim_access_setup(struct ipc_sec_rsim_access_request_header *heade
     const void *sim_io_data, size_t sim_io_size);
 size_t ipc_sec_rsim_access_size_extract(const void *data, size_t size);
 void *ipc_sec_rsim_access_extract(const void *data, size_t size);
-int ipc_sec_lock_information_setup(struct ipc_sec_lock_infomation_request_data *data,
+int ipc_sec_lock_information_setup(struct ipc_sec_lock_information_request_data *data,
     unsigned char type);
 
 #endif
diff --git a/samsung-ipc/sec.c b/samsung-ipc/sec.c
index fe5589c..a943569 100644
--- a/samsung-ipc/sec.c
+++ b/samsung-ipc/sec.c
@@ -199,13 +199,13 @@ void *ipc_sec_rsim_access_extract(const void *data, size_t size)
     return rsim_data;
 }
 
-int ipc_sec_lock_information_setup(struct ipc_sec_lock_infomation_request_data *data,
+int ipc_sec_lock_information_setup(struct ipc_sec_lock_information_request_data *data,
     unsigned char type)
 {
     if (data == NULL)
         return -1;
 
-    memset(data, 0, sizeof(struct ipc_sec_lock_infomation_request_data));
+    memset(data, 0, sizeof(struct ipc_sec_lock_information_request_data));
     data->magic = 0x01;
     data->type = type;
 
-- 
2.27.0



More information about the Replicant mailing list