summaryrefslogtreecommitdiff
path: root/bin/dd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-07-12 07:22:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-07-12 07:22:45 +0000
commit0fae8424df55fc9eeb2e693c18ce0c6dc6b59cfc (patch)
tree7474aa3fc599aa3e09f5948d4dacbd2987046f89 /bin/dd
parent2d07d9f175183e1bb13a2336931021b024b1f5d1 (diff)
annotate broken signal handler
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index a0c20191137..ae64cea5d13 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.23 2018/04/07 18:52:39 cheloha Exp $ */
+/* $OpenBSD: misc.c,v 1.24 2024/07/12 07:22:44 deraadt Exp $ */
/* $NetBSD: misc.c,v 1.4 1995/03/21 09:04:10 cgd Exp $ */
/*-
@@ -86,13 +86,13 @@ summaryx(int notused)
{
int save_errno = errno;
- summary();
+ summary(); /* XXX signal race, dprintf floating point */
errno = save_errno;
}
void
terminate(int signo)
{
- summary();
+ summary(); /* XXX signal race, dprintf floating point */
_exit(128 + signo);
}