summaryrefslogtreecommitdiff
path: root/hostname-setup.c
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2010-05-10 00:32:20 +0200
committerTollef Fog Heen <tfheen@err.no>2010-05-10 00:32:20 +0200
commitaa4112670b37f2ca1cd64a63337575d45e0d7f36 (patch)
tree86be3413409120b944998d8278df8646f1570473 /hostname-setup.c
parent1137a57c2677936bab56c26591a42c93a5e670a8 (diff)
Fix compilation issue; s/-NOENT/-ENOENT/
Diffstat (limited to 'hostname-setup.c')
-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;