Skip to content

Commit 8400a74

Browse files
authored
Tidy console warning text
1 parent 910af82 commit 8400a74

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/kservice.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static rt_err_t _console_get_open_flags(rt_device_t device, rt_uint16_t *oflag)
186186
}
187187
else
188188
{
189-
LOG_W("refuse to set device %.*s as console: missing console-safe output support",
189+
LOG_W("refusing to set device %.*s as console: missing console-safe output support",
190190
RT_NAME_MAX, device->parent.name);
191191
return -RT_EINVAL;
192192
}
@@ -196,7 +196,7 @@ static rt_err_t _console_get_open_flags(rt_device_t device, rt_uint16_t *oflag)
196196
if (access_mode != RT_DEVICE_OFLAG_WRONLY &&
197197
access_mode != RT_DEVICE_OFLAG_RDWR)
198198
{
199-
LOG_W("refuse to set device %.*s as console: invalid open flags 0x%04x",
199+
LOG_W("refusing to set device %.*s as console: invalid open flags 0x%04x",
200200
RT_NAME_MAX, device->parent.name, console_oflag);
201201
return -RT_EINVAL;
202202
}

0 commit comments

Comments
 (0)