DragonFlyBSD Kernel Audit
DF-1261 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -2378,7 +2378,7 @@
 	size_t len;
 	char sname[64];
 	int err = EBUSY;
-	static struct cdev *dev = NULL;
+	struct cdev *dev = NULL;
 
 	KASSERT(dsp_umax >= 0 && dsp_cmax >= 0, ("Uninitialized unit!"));