From 278dfebdcbb88bf7add0c44be7895014b2e7290c Mon Sep 17 00:00:00 2001 From: YOUR_NAME Date: Thu, 1 Jul 2021 22:29:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=9A=E4=B9=89=E5=AE=8FBUS=5FDEBUG?= =?UTF-8?q?=EF=BC=8C=E6=89=93=E5=BC=80=E8=B0=83=E8=AF=95=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=8C=E7=BC=96=E8=AF=91=E4=B8=8D=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close: #I3SZO4 Signed-off-by: zff Change-Id: Idc9051c452fd3f1dcf87c840df74b85b7ea73dc6 --- sys/kern/subr_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index ebece48..c82aaff 100644 --- a/sys/kern/subr_bus.c +++ b/sys/kern/subr_bus.c @@ -985,7 +985,7 @@ device_set_desc_internal(device_t dev, const char* desc, int copy) dev->desc = bsd_malloc(strlen(desc) + 1, M_BUS, M_NOWAIT); if (dev->desc) { if (strcpy_s(dev->desc, strlen(desc) + 1, desc) != EOK) { - PDEBUG("desc internal copy desc failed!\n"); + PDEBUG(("desc internal copy desc failed!\n")); } dev->flags |= DF_DESCMALLOCED; } -- GitLab