From 974a9158f283686be76ad5a1d3507120bc3a68a4 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 21 Aug 1997 22:17:57 +0000 Subject: correct dev:name case in qualify() --- sys/arch/i386/stand/boot/cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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 -- cgit v1.2.3