diff --git a/utils/filemgmt_libn/include/n_error.h b/utils/filemgmt_libn/include/n_error.h index bcc31f1b5fe5244a936e9410c04c15f741c33519..14f636602f85d4a8ece377f407c975acdd857900 100644 --- a/utils/filemgmt_libn/include/n_error.h +++ b/utils/filemgmt_libn/include/n_error.h @@ -201,10 +201,10 @@ const std::unordered_map> errCodeTable { { USER_FILE_SERVICE_SYS_CAP_TAG + E_CONNECT, { USER_FILE_SERVICE_SYS_CAP_TAG + E_CONNECT, "Fail to connect file access extension ability" } }, { E_PERMISSION, { E_PERMISSION, "Permission verification failed" } }, - { E_PERMISSION_SYS, { E_PERMISSION, "The caller is not a system application" } }, - { E_PARAMS, { E_PERMISSION, "The input parameter is invalid" } }, - { E_DEVICENOTSUPPORT, { E_PERMISSION, "The device doesn't support this api" } }, - { E_OSNOTSUPPORT, { E_PERMISSION, "The os doesn't support this api" } }, + { E_PERMISSION_SYS, { E_PERMISSION_SYS, "The caller is not a system application" } }, + { E_PARAMS, { E_PARAMS, "The input parameter is invalid" } }, + { E_DEVICENOTSUPPORT, { E_DEVICENOTSUPPORT, "The device doesn't support this api" } }, + { E_OSNOTSUPPORT, { E_OSNOTSUPPORT, "The os doesn't support this api" } }, }; class NError {