summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/imgact_shell.c')
-rw-r--r--sys/kern/imgact_shell.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c
index fb03011..526aac7 100644
--- a/sys/kern/imgact_shell.c
+++ b/sys/kern/imgact_shell.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: imgact_shell.c,v 1.14 1997/02/22 09:38:57 peter Exp $
*/
#include <sys/param.h>
@@ -126,8 +126,7 @@ exec_shell_imgact(imgp)
}
}
- /* set argv[0] to point to original file name */
- suword(imgp->uap->argv, (int)imgp->uap->fname);
+ imgp->argv0 = imgp->uap->fname;
return(0);
}
OpenPOWER on IntegriCloud