summaryrefslogtreecommitdiff
path: root/source3/lib/iconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/iconv.c')
-rw-r--r--source3/lib/iconv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/iconv.c b/source3/lib/iconv.c
index a22c84997d..0b685d18ea 100644
--- a/source3/lib/iconv.c
+++ b/source3/lib/iconv.c
@@ -247,7 +247,7 @@ static size_t weird_pull(char **inbuf, size_t *inbytesleft,
weird_table[i].len) == 0) {
if (*inbytesleft < weird_table[i].len) {
DEBUG(0,("ERROR: truncated weird string\n"));
- smb_panic(__FUNCTION__);
+ smb_panic("weird_pull");
} else {
(*outbuf)[0] = weird_table[i].from;
@@ -289,7 +289,7 @@ static size_t weird_push(char **inbuf, size_t *inbytesleft,
(*inbuf)[1] == 0) {
if (*outbytesleft < weird_table[i].len) {
DEBUG(0,("No room for weird character\n"));
- smb_panic(__FUNCTION__);
+ smb_panic("weird_push");
} else {
memcpy(*outbuf, weird_table[i].to,
weird_table[i].len);