diff --git a/cfg/src/cfg.c b/cfg/src/cfg.c index 89c9670be2..e349457df5 100644 --- a/cfg/src/cfg.c +++ b/cfg/src/cfg.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -552,7 +552,7 @@ cfg_store_print(struct wlan_objmgr_psoc *psoc) #undef __CFG_INI #define __CFG_INI(id, mtype, ctype, name, min, max, fallback, desc, def...) \ - cfg_nofl_debug("%s %u", name, *(ctype *)&store->values.id##_internal); + cfg_nofl_debug("%s %d", name, *(ctype *)&store->values.id##_internal); #undef __CFG_INI_STRING #define __CFG_INI_STRING(id, mtype, ctype, name, min_len, max_len, ...) \ @@ -620,7 +620,7 @@ cfg_ini_config_print(struct wlan_objmgr_psoc *psoc, uint8_t *buf, #undef __CFG_INI #define __CFG_INI(id, mtype, ctype, name, min, max, fallback, desc, def...) \ do { \ - len = qdf_scnprintf(buf, buflen, "%s %u\n", name, \ + len = qdf_scnprintf(buf, buflen, "%s %d\n", name, \ *(ctype *)&store->values.id##_internal); \ buf += len; \ buflen -= len; \