summaryrefslogtreecommitdiff
path: root/backend/epson2_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/epson2_net.c')
-rw-r--r--backend/epson2_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/epson2_net.c b/backend/epson2_net.c
index 911ce62..4b3e7e9 100644
--- a/backend/epson2_net.c
+++ b/backend/epson2_net.c
@@ -104,7 +104,7 @@ sanei_epson_net_read(Epson_Scanner *s, unsigned char *buf, ssize_t wanted,
size = be32atoh(&header[6]);
- DBG(23, "%s: wanted = %lu, available = %lu\n", __FUNCTION__,
+ DBG(23, "%s: wanted = %lu, available = %lu\n", __func__,
(u_long) wanted, (u_long) size);
*status = SANE_STATUS_GOOD;
@@ -170,7 +170,7 @@ sanei_epson_net_write(Epson_Scanner *s, unsigned int cmd, const unsigned char *b
}
DBG(24, "%s: cmd = %04x, buf = %p, buf_size = %lu, reply_len = %lu\n",
- __FUNCTION__, cmd, buf, (u_long) buf_size, (u_long) reply_len);
+ __func__, cmd, buf, (u_long) buf_size, (u_long) reply_len);
memset(h1, 0x00, 12);
memset(h2, 0x00, 8);