summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
Diffstat (limited to 'CODING_STYLE')
-rw-r--r--CODING_STYLE2
1 files changed, 1 insertions, 1 deletions
diff --git a/CODING_STYLE b/CODING_STYLE
index 1b8c8cf3c6..b3828dc8fa 100644
--- a/CODING_STYLE
+++ b/CODING_STYLE
@@ -11,6 +11,6 @@
- for robustness reasons destructors should be able to destruct
half-initialized objects, too
-- error codes are returned as negative Exxx. i.e. return EINVAL. There
+- error codes are returned as negative Exxx. i.e. return -EINVAL. There
are some exceptions: for constructors its is OK to return NULL on
OOM. For lookup functions NULL is fine too for "not found".