summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/ufsread.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/ufsread.c')
-rw-r--r--sys/boot/common/ufsread.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/common/ufsread.c b/sys/boot/common/ufsread.c
index 06539fe..2724d7c 100644
--- a/sys/boot/common/ufsread.c
+++ b/sys/boot/common/ufsread.c
@@ -87,7 +87,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 int
@@ -126,8 +126,6 @@ lookup(const char *path)
ino = ROOTINO;
dt = DT_DIR;
- name[0] = '/';
- name[1] = '\0';
for (;;) {
if (*path == '/')
path++;
OpenPOWER on IntegriCloud