commit: e2313c5ba988ea29b40fa40f37a6241c8cb8bc28
parent 4a20ec071a7a983ea5ceab197b08bac0458041a7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 17 Jan 2021 15:46:45 +0100
sbin/memsys.c: Use err as return value
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbin/memsys.c b/sbin/memsys.c
@@ -1,4 +1,4 @@
-// Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+// Copyright 2020-2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
// Distributed under the terms of the CC-BY-4.0 license
#define _POSIX_C_SOURCE 200809L
@@ -26,5 +26,5 @@ int main(void) {
close(fd);
}
- return 0;
+ return err;
}