From owner-freebsd-bugs Thu Jun 1 19:20:07 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA23777 for bugs-outgoing; Thu, 1 Jun 1995 19:20:07 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA23770 ; Thu, 1 Jun 1995 19:20:05 -0700 Date: Thu, 1 Jun 1995 19:20:05 -0700 Message-Id: <199506020220.TAA23770@freefall.cdrom.com> From: wpaul@ctr.columbia.edu Reply-To: wpaul@ctr.columbia.edu To: freebsd-bugs Subject: gnu/474: typos in /usr/src/gnu/usr.bin/yppush/yppush.c In-Reply-To: Your message of Thu, 1 Jun 1995 22:16:35 -0400 <199506020216.WAA00800@bootserv.ctr.columbia.edu> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 474 >Category: gnu >Synopsis: typos in /usr/src/gnu/usr.bin/yppush/yppush.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 1 19:20:03 1995 >Originator: Bill Paul >Organization: Center for Telecommunications Research, Columbia University >Release: FreeBSD 2.0-BUILT-19950527 i386 >Environment: FreeBSD 2.0.5-ALPHA >Description: There are some embarassing typos (which I made) in yppush.c. Some fprintf()s are improperly formatted as a result. >How-To-Repeat: Pay careful attention while reading the yppush.c source. >Fix: This is a unified diff to /usr/src/gnu/usr.bin/yppush/yppush.c that corrects the typos. --- yppush.c.orig Tue May 30 22:19:33 1995 +++ yppush.c Tue May 30 22:21:50 1995 @@ -203,7 +203,7 @@ perror("svc_run: - select failed"); return; case 0: - fprintf(stderr, "%sh: callback timed out\n, progname"); + fprintf(stderr, "%s: callback timed out\n", progname); exit(0); default: svc_getreqset(&readfds); @@ -421,16 +421,16 @@ if (DomainName==NULL) { if (yp_get_default_domain(&DomainName)!=0) { - fprintf(stderr, "%s: cannot get default domain\n, - progname"); + fprintf(stderr, "%s: cannot get default domain\n", + progname); exit(1); } } ThisHost=getHostName(); if (ThisHost==NULL) { - fprintf(stderr, "%s: cannot determine local hostname\n, - progname"); + fprintf(stderr, "%s: cannot determine local hostname\n", + progname); exit(1); } >Audit-Trail: >Unformatted: