summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hostname-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostname-setup.c b/hostname-setup.c
index 9f61474625..71a3f75bd9 100644
--- a/hostname-setup.c
+++ b/hostname-setup.c
@@ -130,7 +130,7 @@ finish:
if (k[0] == 0) {
free(k);
- return -NOENT;
+ return -ENOENT;
}
*hn = k;