forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/net/wireless/ath/carl9170/debug.c
....@@ -45,7 +45,7 @@
4545 #include "cmd.h"
4646
4747 #define ADD(buf, off, max, fmt, args...) \
48
- off += snprintf(&buf[off], max - off, fmt, ##args);
48
+ off += scnprintf(&buf[off], max - off, fmt, ##args);
4949
5050
5151 struct carl9170_debugfs_fops {