From: Jim Meyering Date: Sun, 8 May 1994 16:42:40 +0000 (+0000) Subject: . X-Git-Tag: textutils-1_12_1~698 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f53ad080351ddde8186f4bf72dcaa1673758496;p=thirdparty%2Fcoreutils.git . --- diff --git a/src/hostname.c b/src/hostname.c index dcb8074ec9..7f8e45aa0b 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -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)