diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-21 22:17:57 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-21 22:17:57 +0000 |
commit | 974a9158f283686be76ad5a1d3507120bc3a68a4 (patch) | |
tree | 8708c065665d4a0f90fa9e7177c7ad5ff0cc12e4 /sys/stand | |
parent | 2f0ee45629c0703e66045878fc3303f030644915 (diff) |
correct dev:<need cwd>name case in qualify()
Diffstat (limited to 'sys/stand')
-rw-r--r-- | sys/stand/boot/cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c index c2c9678f655..4910cccde66 100644 --- a/sys/stand/boot/cmd.c +++ b/sys/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 |