Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ypcat fix typos from previous commit.



details:   https://anonhg.NetBSD.org/src/rev/b7b548f0cd4c
branches:  trunk
changeset: 777742:b7b548f0cd4c
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Mar 02 18:55:16 2012 +0000

description:
fix typos from previous commit.

diffstat:

 usr.bin/ypcat/ypcat.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 6ac2b4a9cd1d -r b7b548f0cd4c usr.bin/ypcat/ypcat.c
--- a/usr.bin/ypcat/ypcat.c     Fri Mar 02 18:20:33 2012 +0000
+++ b/usr.bin/ypcat/ypcat.c     Fri Mar 02 18:55:16 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ypcat.c,v 1.17 2012/03/02 17:27:49 christos Exp $  */
+/* $NetBSD: ypcat.c,v 1.18 2012/03/02 18:55:16 matt Exp $      */
 
 /*
  * Copyright (c) 1992, 1993 Theo de Raadt <deraadt%fsa.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ypcat.c,v 1.17 2012/03/02 17:27:49 christos Exp $");
+__RCSID("$NetBSD: ypcat.c,v 1.18 2012/03/02 18:55:16 matt Exp $");
 #endif
 
 #include <sys/param.h>
@@ -58,7 +58,7 @@
 int
 main(int argc, char *argv[])
 {
-       char *domainname, b_retry_cnt;
+       char *domainname, *b_retry_cnt;
        struct ypall_callback ypcb;
        const char *inmap;
        int notrans;
@@ -68,7 +68,7 @@
        int key;
 
        setprogname(*argv);
-       domainname = b_retry_cnt NULL;
+       domainname = b_retry_cnt = NULL;
        notrans = key = 0;
        ypaliases = ypalias_init();
        while((c = getopt(argc, argv, "bd:kstx")) != -1) {



Home | Main Index | Thread Index | Old Index