zephyr/subsys
Marcin Niestroj 09f6e8a112 net: hostname: fix logging hostname string
Following errors occuring after enabling debug logs:

  log: argument 2 in source net_hostname log message "%s: (%s): \
    Hostname set to %s" missinglog_strdup().
  log: argument 2 in source net_hostname log message "%s: (%s): \
    New hostname %s" missinglog_strdup().

Fix that by printing CONFIG_NET_HOSTNAME directly in the first case and
using log_strdup() in the second.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-11-17 10:41:49 +02:00
..
bluetooth Bluetooth: host: Periodic advertiser list support 2020-11-16 16:35:44 +01:00
canbus subsys: canopen: Add a wrapper to avoid passing device to CO_init 2020-09-02 13:48:13 +02:00
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
cpp cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
debug debug: openocd: Support for building on SPARC 2020-11-13 14:53:55 -08:00
dfu dfu/boot/mcuboot: made able to compile within MCUBoot 2020-11-13 13:37:18 +01:00
disk disk: Fix nxp usdhc driver optional gpio properties 2020-11-03 10:35:49 -06:00
emul emul: spi: bmi160: Add support for I2C 2020-10-27 16:41:30 +01:00
fb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fs fs/fcb: Enable FCB to work with non-0xff erase value flash 2020-11-16 13:39:04 +01:00
jwt Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
logging logging: change default stack size on SPARC 2020-11-13 14:53:55 -08:00
lorawan lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
mgmt mgmt: mcumgr: add configuration option to enable shell management 2020-11-11 13:17:02 +01:00
net net: hostname: fix logging hostname string 2020-11-17 10:41:49 +02:00
power device: treat a NULL device_pm_control as device_pm_control_nop 2020-11-10 08:38:09 -06:00
random rand: xoroshiro128: fix buffer overflow 2020-11-11 15:02:04 -06:00
settings settings_fcb: initialize rc variable 2020-10-02 12:07:06 -04:00
shell shell: kernel: fix interrupt stack size calculation on SMP 2020-11-13 07:13:07 -05:00
stats misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
testsuite sparc: Add testsuite support 2020-11-13 14:53:55 -08:00
timing timing: do not repeatedly do init()/start()/stop() 2020-11-11 23:55:49 -05:00
tracing tracing: switch to cbprintf as basis for printf functionality 2020-11-13 06:38:01 -05:00
usb usb/class/usb_dfu: makes USB_DFU_WAIT_DELAY_MS configurable 2020-11-13 13:37:18 +01:00
CMakeLists.txt timing: do not repeatedly do init()/start()/stop() 2020-11-11 23:55:49 -05:00
Kconfig lorawan: Add initial support for LoRaWAN 2020-10-08 12:15:38 +02:00