Fix compilation issue; s/-NOENT/-ENOENT/
authorTollef Fog Heen <tfheen@err.no>
Sun, 9 May 2010 22:32:20 +0000 (00:32 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 9 May 2010 22:32:20 +0000 (00:32 +0200)
hostname-setup.c

index 9f61474..71a3f75 100644 (file)
@@ -130,7 +130,7 @@ finish:
 
         if (k[0] == 0) {
                 free(k);
-                return -NOENT;
+                return -ENOENT;
         }
 
         *hn = k;