diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
commit | b3067fd524234e263e58b215d0fb24d414bf1c34 (patch) | |
tree | 5c1576265dded5700ab387af81051fabd39f3396 /sys/netinet | |
parent | 9ee95b4b405b050512cf782b508d774f4601a6b5 (diff) |
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_esp_new.c | 6 | ||||
-rw-r--r-- | sys/netinet/ip_esp_old.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/ip_esp_new.c b/sys/netinet/ip_esp_new.c index 927091c7294..50c627c2c29 100644 --- a/sys/netinet/ip_esp_new.c +++ b/sys/netinet/ip_esp_new.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_esp_new.c,v 1.28 1999/01/08 21:40:26 deraadt Exp $ */ +/* $OpenBSD: ip_esp_new.c,v 1.29 1999/01/11 05:12:30 millert Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -637,7 +637,7 @@ esp_new_input(struct mbuf *m, struct tdb *tdb) do { mi = (mo = mi)->m_next; if (mi == NULL) - panic("esp_new_input(): bad chain (i)\n"); + panic("esp_new_input(): bad chain (i)"); } while (mi->m_len == 0); if (mi->m_len < blks - rest) @@ -1012,7 +1012,7 @@ esp_new_output(struct mbuf *m, struct sockaddr_encap *gw, struct tdb *tdb, do { mi = (mo = mi)->m_next; if (mi == NULL) - panic("esp_new_output(): bad chain (i)\n"); + panic("esp_new_output(): bad chain (i)"); } while (mi->m_len == 0); if (mi->m_len < blks - rest) diff --git a/sys/netinet/ip_esp_old.c b/sys/netinet/ip_esp_old.c index fe89cd7eaf4..f7a294b0db7 100644 --- a/sys/netinet/ip_esp_old.c +++ b/sys/netinet/ip_esp_old.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_esp_old.c,v 1.24 1999/01/08 21:40:27 deraadt Exp $ */ +/* $OpenBSD: ip_esp_old.c,v 1.25 1999/01/11 05:12:30 millert Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -404,7 +404,7 @@ esp_old_input(struct mbuf *m, struct tdb *tdb) do { mi = (mo = mi)->m_next; if (mi == NULL) - panic("esp_old_input(): bad chain (i)\n"); + panic("esp_old_input(): bad chain (i)"); } while (mi->m_len == 0); if (mi->m_len < blks - rest) @@ -700,7 +700,7 @@ esp_old_output(struct mbuf *m, struct sockaddr_encap *gw, struct tdb *tdb, do { mi = (mo = mi)->m_next; if (mi == NULL) - panic("esp_old_output(): bad chain (i)\n"); + panic("esp_old_output(): bad chain (i)"); } while (mi->m_len == 0); if (mi->m_len < blks - rest) |