aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-19 06:58:31 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-19 06:58:31 +0000
commit49837d6cd0723facd10aaf834e7784cb25277afa (patch)
treed3856024eaa5d9d16e7cac437bcd60dcf832bbd3
parentdd81f3b0a0d9be6587d6e4a3b4f966a0cdc94ef4 (diff)
Notes
-rw-r--r--lib/csu/alpha/crt1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/csu/alpha/crt1.c b/lib/csu/alpha/crt1.c
index 5a022852d403..ac87526ca9af 100644
--- a/lib/csu/alpha/crt1.c
+++ b/lib/csu/alpha/crt1.c
@@ -30,7 +30,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: crt1.c,v 1.2 1998/08/20 21:37:22 jb Exp $
+ * $Id: crt1.c,v 1.3 1999/01/07 20:18:18 steve Exp $
*/
#ifndef __GNUC__
@@ -82,6 +82,7 @@ _start(char **ap,
environ = env;
if(argc > 0 && argv[0] != NULL) {
char *s;
+ __progname = argv[0];
for (s = __progname; *s != '\0'; s++)
if (*s == '/')
__progname = s + 1;