diff options
| author | Toomas Soome <tsoome@FreeBSD.org> | 2018-08-01 12:14:10 +0000 |
|---|---|---|
| committer | Toomas Soome <tsoome@FreeBSD.org> | 2018-08-01 12:14:10 +0000 |
| commit | 8696ce6e29f65488a1304776b145ac60274c1a12 (patch) | |
| tree | ea0a706c50f7abb84b601809ff9824f79d2ed46d /stand/libsa/nfs.c | |
| parent | d07ea92f55834f7343e25e81d2858846205dd23a (diff) | |
Notes
Diffstat (limited to 'stand/libsa/nfs.c')
| -rw-r--r-- | stand/libsa/nfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/libsa/nfs.c b/stand/libsa/nfs.c index b7068d63d9c7..31a19c0597e5 100644 --- a/stand/libsa/nfs.c +++ b/stand/libsa/nfs.c @@ -837,7 +837,7 @@ nfs_readdir(struct open_file *f, struct dirent *d) fp->off = cookie = ((uint64_t)ntohl(rent->nameplus[pos]) << 32) | ntohl(rent->nameplus[pos + 1]); pos += 2; - buf = (u_char *)&rent->nameplus[pos]; + buf = (char *)&rent->nameplus[pos]; return (0); err: |
