summaryrefslogtreecommitdiffstats
path: root/bin/domainname
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-06-04 06:21:44 +0000
committercharnier <charnier@FreeBSD.org>1997-06-04 06:21:44 +0000
commit3c20fa7d9169aa0b3cc3c66be6f0d5d9e8395ef0 (patch)
treece22573d3151bf60b367160250270b24599b6f33 /bin/domainname
parent1ac1acd5a3850f07d4efcdcc2f729b735cf54da0 (diff)
downloadFreeBSD-src-3c20fa7d9169aa0b3cc3c66be6f0d5d9e8395ef0.zip
FreeBSD-src-3c20fa7d9169aa0b3cc3c66be6f0d5d9e8395ef0.tar.gz
Revert part of previous patch: Don't use __progname.
Diffstat (limited to 'bin/domainname')
-rw-r--r--bin/domainname/domainname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/domainname/domainname.c b/bin/domainname/domainname.c
index 0dfcb4b..0513219 100644
--- a/bin/domainname/domainname.c
+++ b/bin/domainname/domainname.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: domainname.c,v 1.8 1997/02/22 14:03:01 peter Exp $
+ * $Id: domainname.c,v 1.9 1997/06/03 06:19:04 charnier Exp $
*/
#ifndef lint
@@ -51,8 +51,6 @@ static char const sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93";
#include <string.h>
#include <unistd.h>
-extern char *__progname;
-
void usage __P((void));
int
@@ -88,6 +86,6 @@ main(argc,argv)
void
usage()
{
- (void)fprintf(stderr, "usage: %s [ypdomain]\n", __progname);
+ (void)fprintf(stderr, "usage: domainname [ypdomain]\n");
exit(1);
}
OpenPOWER on IntegriCloud