summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-11-18 14:32:23 +0100
committerLennart Poettering <lennart@poettering.net>2009-11-18 14:32:23 +0100
commite1cc7a01bb4663b4aea307cf22368bb5568a9e46 (patch)
tree4e4cc8e3113c575820ae3e3e9a9476afbd8fb52f /CODING_STYLE
parent6091827530d6dd43479d6709fb6e9f745c11e900 (diff)
downloadsystemd-e1cc7a01bb4663b4aea307cf22368bb5568a9e46.tar.gz
CODING_STYLE: add missing -
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".