clean up awk syntax
[unix-history] / usr / src / sys / netns / spp_debug.c
index 733ba6d..9f2e190 100644 (file)
@@ -1,9 +1,9 @@
 /*
 /*
- * Copyright (c) 1982 Regents of the University of California.
+ * Copyright (c) 1984, 1985, 1986 Regents of the University of California.
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)spp_debug.c 6.5 (Berkeley) %G%
+ *     @(#)spp_debug.c 7.1 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -46,7 +46,7 @@ spp_trace(act, ostate, sp, si, req)
        int flags;
        struct spp_debug *sd = &spp_debug[spp_debx++];
        extern char *prurequests[];
        int flags;
        struct spp_debug *sd = &spp_debug[spp_debx++];
        extern char *prurequests[];
-       extern char *tanames[];
+       extern char *sanames[];
        extern char *tcpstates[];
        extern char *tcptimers[];
 
        extern char *tcpstates[];
        extern char *tcptimers[];
 
@@ -73,7 +73,7 @@ spp_trace(act, ostate, sp, si, req)
                printf("%x %s:", sp, tcpstates[ostate]);
        else
                printf("???????? ");
                printf("%x %s:", sp, tcpstates[ostate]);
        else
                printf("???????? ");
-       printf("%s ", tanames[act]);
+       printf("%s ", sanames[act]);
        switch (act) {
 
        case SA_RESPOND:
        switch (act) {
 
        case SA_RESPOND: