diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2011-07-26 13:26:51 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2011-07-26 13:26:51 +0000 |
| commit | 6263fae071eb7dd07abfa00a361f60def8752ffc (patch) | |
| tree | eccc817dd3cfe8997ee8c72760430aa7c7b8ae16 /sys/boot/common | |
| parent | d25f2783c85a5efe2e13c779282bfb3b97229e45 (diff) | |
Notes
Diffstat (limited to 'sys/boot/common')
| -rw-r--r-- | sys/boot/common/ufsread.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/common/ufsread.c b/sys/boot/common/ufsread.c index 029d6bc29cd2c..b7677329b1963 100644 --- a/sys/boot/common/ufsread.c +++ b/sys/boot/common/ufsread.c @@ -88,7 +88,7 @@ static struct dmadat *dmadat; static ino_t lookup(const char *); static ssize_t fsread(ino_t, void *, size_t); -static int ls, dsk_meta; +static uint8_t ls, dsk_meta; static uint32_t fs_off; static __inline uint8_t @@ -127,8 +127,6 @@ lookup(const char *path) ino = ROOTINO; dt = DT_DIR; - name[0] = '/'; - name[1] = '\0'; for (;;) { if (*path == '/') path++; |
