fixed signal reporting
authorChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Mon, 2 Sep 1991 13:41:18 +0000 (05:41 -0800)
committerChristos Zoulas <christos@ucbvax.Berkeley.EDU>
Mon, 2 Sep 1991 13:41:18 +0000 (05:41 -0800)
SCCS-vsn: bin/csh/proc.c 5.26

usr/src/bin/csh/proc.c

index 43cbb56..cb7704a 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)proc.c     5.25 (Berkeley) %G%";
+static char sccsid[] = "@(#)proc.c     5.26 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -705,7 +705,7 @@ pprint(pp, flag)
                             && (reason != SIGPIPE
                                 || (pp->p_flags & PPOU) == 0))) {
                        (void) fprintf(cshout, format, 
                             && (reason != SIGPIPE
                                 || (pp->p_flags & PPOU) == 0))) {
                        (void) fprintf(cshout, format, 
-                                      sys_signame[pp->p_reason]);
+                                      sys_siglist[pp->p_reason]);
                        hadnl = 0;
                    }
                    break;
                        hadnl = 0;
                    }
                    break;