From c6a4c998548a313ec52877cb610af2e766f30462 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 6 May 2021 12:00:35 +0200 Subject: [PATCH] Fixed format string in tty example. --- examples/tty/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tty/serial.c b/examples/tty/serial.c index 31d696d4..bb3ed864 100644 --- a/examples/tty/serial.c +++ b/examples/tty/serial.c @@ -481,7 +481,7 @@ int el60xx_port_init(el60xx_port_t *port, ec_slave_config_t *sc, if (port->max_tx_data_size > 0) { port->tx_data = kmalloc(port->max_tx_data_size, GFP_KERNEL); if (port->tx_data == NULL) { - printk(KERN_ERR PFX "Failed to allocate %u bytes of TX" + printk(KERN_ERR PFX "Failed to allocate %zu bytes of TX" " memory for %s.\n", port->max_tx_data_size, port->name); ret = -ENOMEM; goto out_free_tty;