commit | 4d876711af61a35fdc4117edc5a0c1542f419583 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Sat May 23 10:24:51 2020 +0800 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue May 26 21:50:43 2020 +0000 |
tree | 7af0e7c9c15f463894ad77a41f4918ed4bcdfb11 | |
parent | 70c76a29b898f05e28c803808bd57a2b6c3f7a6f [diff] |
Add Read failure to common File error YAML Add Read failure to common File error YAML and can be used by any application getting any read failure doing File operation. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I4cd9f18a9bb7b0fa8c18145642009b3acdb43808
diff --git a/xyz/openbmc_project/Common/File.errors.yaml b/xyz/openbmc_project/Common/File.errors.yaml index 7c26429..1e63dba 100644 --- a/xyz/openbmc_project/Common/File.errors.yaml +++ b/xyz/openbmc_project/Common/File.errors.yaml
@@ -6,3 +6,6 @@ - name: Write description: Failed to write a file + +- name: Read + description: Failed to read a file
diff --git a/xyz/openbmc_project/Common/File.metadata.yaml b/xyz/openbmc_project/Common/File.metadata.yaml index a44d7e2..8a9ad02 100644 --- a/xyz/openbmc_project/Common/File.metadata.yaml +++ b/xyz/openbmc_project/Common/File.metadata.yaml
@@ -22,3 +22,10 @@ type: int32 - str: "PATH=%s" type: string + +- name: Read + meta: + - str: "ERRNO=%d" + type: int32 + - str: "PATH=%s" + type: string