summaryrefslogtreecommitdiff
path: root/src/pstore/pstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pstore/pstore.c')
-rw-r--r--src/pstore/pstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pstore/pstore.c b/src/pstore/pstore.c
index c642a3252c..9d59c608c1 100644
--- a/src/pstore/pstore.c
+++ b/src/pstore/pstore.c
@@ -53,7 +53,7 @@ typedef enum PStoreStorage {
PSTORE_STORAGE_EXTERNAL,
PSTORE_STORAGE_JOURNAL,
_PSTORE_STORAGE_MAX,
- _PSTORE_STORAGE_INVALID = -1
+ _PSTORE_STORAGE_INVALID = -EINVAL,
} PStoreStorage;
static const char* const pstore_storage_table[_PSTORE_STORAGE_MAX] = {