]> err.no Git - systemd/commitdiff
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 9f614746250f91be141c3ceeb84ea271a45bcc9c..71a3f75bd98fed18872dbb552fd1f0992e0613ff 100644 (file)
@@ -130,7 +130,7 @@ finish:
 
         if (k[0] == 0) {
                 free(k);
-                return -NOENT;
+                return -ENOENT;
         }
 
         *hn = k;