]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Sun, 8 May 1994 16:42:40 +0000 (16:42 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 8 May 1994 16:42:40 +0000 (16:42 +0000)
src/hostname.c

index dcb8074ec962c45f4fe3c4903a96c562ecdd568b..7f8e45aa0b3d46cb549d1a3174f01e224207bfea 100644 (file)
@@ -82,6 +82,9 @@ main (argc, argv)
        error (1, errno, "%s", argv[1]);
       exit (0);
     }
+#else
+  if (argc == 2)
+    error (1, 0, "cannot set hostname; this system lacks the system call");
 #endif
 
   if (argc == 1)