From e69d4ae1be8bfc8270a6efd346f29a23243c6fce Mon Sep 17 00:00:00 2001 From: jackfiled Date: Wed, 25 May 2022 09:52:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86sscanf=5Fs=E5=BC=95?= =?UTF-8?q?=E5=8F=91=E7=9A=84=E6=AE=B5=E9=94=99=E8=AF=AF=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BAsscanf=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bus_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bus_io.c b/src/bus_io.c index a491f6a..e87c575 100644 --- a/src/bus_io.c +++ b/src/bus_io.c @@ -8,7 +8,7 @@ int ReadInput(char *inputString) char src[20]; int num; - sscanf_s(inputString, "%[a-z] %d", src, &num); + sscanf(inputString, "%[a-z] %d", src, &num); if (0 == strcmp("clock", src)) { return IO_CLOCK;