diff options
Diffstat (limited to 'sys/netsmb/smb_subr.c')
-rw-r--r-- | sys/netsmb/smb_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_subr.c b/sys/netsmb/smb_subr.c index f58d235..fe10a5c 100644 --- a/sys/netsmb/smb_subr.c +++ b/sys/netsmb/smb_subr.c @@ -178,7 +178,7 @@ void smb_strtouni(u_int16_t *dst, const char *src) { while (*src) { - *dst++ = htoles(*src++); + *dst++ = htole16(*src++); } *dst = 0; } |