summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-21 22:17:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-21 22:17:57 +0000
commit974a9158f283686be76ad5a1d3507120bc3a68a4 (patch)
tree8708c065665d4a0f90fa9e7177c7ad5ff0cc12e4 /sys/arch/i386
parent2f0ee45629c0703e66045878fc3303f030644915 (diff)
correct dev:<need cwd>name case in qualify()
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/boot/cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.c b/sys/arch/i386/stand/boot/cmd.c
index c2c9678f655..4910cccde66 100644
--- a/sys/arch/i386/stand/boot/cmd.c
+++ b/sys/arch/i386/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.27 1997/08/21 22:15:17 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.28 1997/08/21 22:17:56 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -541,7 +541,7 @@ qualify(name)
if (p[1] == '/')
sprintf(cmd.path, "%s", name);
else
- sprintf(cmd.path, "%s%s%s", name, cmd.cwd, name);
+ sprintf(cmd.path, "%s%s", cmd.cwd, name);
else if (name[0] == '/')
sprintf(cmd.path, "%s:%s", cmd.bootdev, name);
else