diff options
| author | Martin Blapp <mbr@FreeBSD.org> | 2003-04-29 17:03:22 +0000 |
|---|---|---|
| committer | Martin Blapp <mbr@FreeBSD.org> | 2003-04-29 17:03:22 +0000 |
| commit | a966b13d67dfc111cf2087fde6dbab9da5df6573 (patch) | |
| tree | fb58df9a143b3c99007397a3a25d25d5a67ea9c6 /sys | |
| parent | bde5d00495b631ab694c8fb6fa8af1a7d6190fdd (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/compat/linux/linux_stats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c index 969dcb600051..ad8d8d925baa 100644 --- a/sys/compat/linux/linux_stats.c +++ b/sys/compat/linux/linux_stats.c @@ -56,6 +56,7 @@ newstat_copyout(struct stat *buf, void *ubuf) struct cdevsw *cdevsw; dev_t dev; + bzero(&tbuf, sizeof(tbuf)); tbuf.st_dev = uminor(buf->st_dev) | (umajor(buf->st_dev) << 8); tbuf.st_ino = buf->st_ino; tbuf.st_mode = buf->st_mode; |
