-/* $OpenBSD: machdep.c,v 1.130 2021/03/09 14:13:33 visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.131 2021/05/16 15:12:38 deraadt Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
kstack = alloc_contiguous_pages(USPACE);
if (kstack == 0)
- panic("unable to allocate idle stack\n");
+ panic("unable to allocate idle stack");
ci->ci_curprocpaddr = (void *)kstack;
cpu_spinup_a0 = (uint64_t)ci;
-/* $OpenBSD: audio.c,v 1.192 2020/12/25 12:59:51 visa Exp $ */
+/* $OpenBSD: audio.c,v 1.193 2021/05/16 15:12:37 deraadt Exp $ */
/*
* Copyright (c) 2015 Alexandre Ratchov <alex@caoua.org>
*
#ifdef AUDIO_DEBUG
if (count > buf->used) {
panic("audio_buf_rdiscard: bad count = %zu, "
- "start = %zu, used = %zu\n", count, buf->start, buf->used);
+ "start = %zu, used = %zu", count, buf->start, buf->used);
}
#endif
buf->used -= count;
#ifdef AUDIO_DEBUG
if (count > (buf->len - buf->used)) {
panic("audio_buf_wcommit: bad count = %zu, "
- "start = %zu, used = %zu\n", count, buf->start, buf->used);
+ "start = %zu, used = %zu", count, buf->start, buf->used);
}
#endif
buf->used += count;
-/* $OpenBSD: softraid_raid1.c,v 1.66 2020/12/08 17:33:49 stsp Exp $ */
+/* $OpenBSD: softraid_raid1.c,v 1.67 2021/05/16 15:12:37 deraadt Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
default:
die:
splx(s); /* XXX */
- panic("%s: %s: %s: invalid chunk state transition "
- "%d -> %d\n", DEVNAME(sd->sd_sc),
+ panic("%s: %s: %s: invalid chunk state transition %d -> %d",
+ DEVNAME(sd->sd_sc),
sd->sd_meta->ssd_devname,
sd->sd_vol.sv_chunks[c]->src_meta.scmi.scm_devname,
old_state, new_state);
default:
die:
- panic("%s: %s: invalid volume state transition "
- "%d -> %d\n", DEVNAME(sd->sd_sc),
+ panic("%s: %s: invalid volume state transition %d -> %d",
+ DEVNAME(sd->sd_sc),
sd->sd_meta->ssd_devname,
old_state, new_state);
/* NOTREACHED */
-/* $OpenBSD: softraid_raid5.c,v 1.31 2020/12/16 18:16:34 cheloha Exp $ */
+/* $OpenBSD: softraid_raid5.c,v 1.32 2021/05/16 15:12:37 deraadt Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
default:
die:
splx(s); /* XXX */
- panic("%s: %s: %s: invalid chunk state transition "
- "%d -> %d", DEVNAME(sd->sd_sc),
+ panic("%s: %s: %s: invalid chunk state transition %d -> %d",
+ DEVNAME(sd->sd_sc),
sd->sd_meta->ssd_devname,
sd->sd_vol.sv_chunks[c]->src_meta.scmi.scm_devname,
old_state, new_state);
-/* $OpenBSD: softraid_raid6.c,v 1.71 2016/04/12 16:26:54 krw Exp $ */
+/* $OpenBSD: softraid_raid6.c,v 1.72 2021/05/16 15:12:37 deraadt Exp $ */
/*
* Copyright (c) 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2009 Jordan Hargrave <jordan@openbsd.org>
default:
die:
splx(s); /* XXX */
- panic("%s: %s: %s: invalid chunk state transition "
- "%d -> %d", DEVNAME(sd->sd_sc),
+ panic("%s: %s: %s: invalid chunk state transition %d -> %d",
+ DEVNAME(sd->sd_sc),
sd->sd_meta->ssd_devname,
sd->sd_vol.sv_chunks[c]->src_meta.scmi.scm_devname,
old_state, new_state);