aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/common
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-07-26 13:26:51 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-07-26 13:26:51 +0000
commit6263fae071eb7dd07abfa00a361f60def8752ffc (patch)
treeeccc817dd3cfe8997ee8c72760430aa7c7b8ae16 /sys/boot/common
parentd25f2783c85a5efe2e13c779282bfb3b97229e45 (diff)
Notes
Diffstat (limited to 'sys/boot/common')
-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 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++;