From: Tollef Fog Heen Date: Sun, 9 May 2010 22:32:20 +0000 (+0200) Subject: Fix compilation issue; s/-NOENT/-ENOENT/ X-Git-Tag: v1~419 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=aa4112670b37f2ca1cd64a63337575d45e0d7f36 Fix compilation issue; s/-NOENT/-ENOENT/ --- diff --git a/hostname-setup.c b/hostname-setup.c index 9f6147462..71a3f75bd 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;