summaryrefslogtreecommitdiff
path: root/src/stream
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/rom_stream.c2
-rw-r--r--src/stream/serial_stream.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/rom_stream.c b/src/stream/rom_stream.c
index 9357cf7e08..3c3614c608 100644
--- a/src/stream/rom_stream.c
+++ b/src/stream/rom_stream.c
@@ -124,7 +124,7 @@ byte_offset_t stream_skip(byte_offset_t count)
bytes = count;
if ((rom + bytes - 1) > rom_end) {
printk_warning("%6d:%s() - overflowed source buffer\n",
- __LINE__, __FUNCTION__);
+ __LINE__, __func__);
bytes = 0;
if (rom <= rom_end) {
bytes = (rom_end - rom) + 1;
diff --git a/src/stream/serial_stream.c b/src/stream/serial_stream.c
index 5be6624ac4..9fb53cf2af 100644
--- a/src/stream/serial_stream.c
+++ b/src/stream/serial_stream.c
@@ -73,7 +73,7 @@ byte_offset_t stream_skip(byte_offset_t count)
{
if ((stream_start + count) > stream_end) {
printk_warning("%6d:%s() - overflowed source buffer\n",
- __LINE__, __FUNCTION__);
+ __LINE__, __func__);
count = 0;
if (stream_start <= stream_end) {
count = (stream_end - stream_start) + 1;