summaryrefslogtreecommitdiff
path: root/src/shared/format-table.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-02-11 03:17:47 +0900
committerGitHub <noreply@github.com>2021-02-11 03:17:47 +0900
commitfa7924db0bd836e30021c9b2c0480f0beb1a85d6 (patch)
tree140ee965dbe69032363640110dec3fe8089d379f /src/shared/format-table.h
parent2de908aead1182e07851e05b9f31759fe445e4f5 (diff)
parent23ece765cc771f1fe0d4798843edb0ec24ae179c (diff)
downloadsystemd-fa7924db0bd836e30021c9b2c0480f0beb1a85d6.tar.gz
Merge pull request #11484 from keszybz/udevadm-error-logs
Use real return codes in _from_string() functions
Diffstat (limited to 'src/shared/format-table.h')
-rw-r--r--src/shared/format-table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/format-table.h b/src/shared/format-table.h
index 732abf27ec..5a8c1adfae 100644
--- a/src/shared/format-table.h
+++ b/src/shared/format-table.h
@@ -58,7 +58,7 @@ typedef enum TableDataType {
TABLE_SET_URL,
TABLE_SET_UPPERCASE,
- _TABLE_DATA_TYPE_INVALID = -1,
+ _TABLE_DATA_TYPE_INVALID = -EINVAL,
} TableDataType;
typedef struct Table Table;