diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-02-22 02:35:59 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-02-22 02:35:59 +0000 |
| commit | e099b90b801b7e0986874ba7dd4ff8bd9cf3e3b3 (patch) | |
| tree | 04b8e98cf3194069224bd53565bef10185a73980 /sys/libkern | |
| parent | dae82c37b0ad3717b17b39421c03bd278ce6258f (diff) | |
Notes
Diffstat (limited to 'sys/libkern')
| -rw-r--r-- | sys/libkern/iconv_xlat16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/iconv_xlat16.c b/sys/libkern/iconv_xlat16.c index 630cbd3aff76..c423413b0b68 100644 --- a/sys/libkern/iconv_xlat16.c +++ b/sys/libkern/iconv_xlat16.c @@ -268,7 +268,7 @@ iconv_xlat16_conv(void *d2p, const char **inbuf, * there is a case that inbuf char is a single * byte char while inlen == 2 */ - if ((u_char)*(src+1) == 0 && !nullin ) { + if ((u_char)*(src+1) == '\0' && !nullin ) { src++; ir--; } else { |
