summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-05-31 21:12:55 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-05-31 21:12:55 +0000
commitfb9616946b3fce4a353e41a6826e22bce6e28a55 (patch)
treecbee6da3e8b12054e39353d409b7bb27fc3c8ff6 /lib/libc
parent32f7fca8e67c4496a1076a3262e907ab4f66be1c (diff)
fixie
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/setprogname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/setprogname.c b/lib/libc/gen/setprogname.c
index c8625f0498a..3e73bf781e3 100644
--- a/lib/libc/gen/setprogname.c
+++ b/lib/libc/gen/setprogname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setprogname.c,v 1.1 2013/05/31 20:59:24 ajacoutot Exp $ */
+/* $OpenBSD: setprogname.c,v 1.2 2013/05/31 21:12:54 tedu Exp $ */
/*
* Copyright (c) 2013 Antoine Jacoutot <ajacoutot@openbsd.org>
*
@@ -29,5 +29,5 @@ setprogname(const char *progname)
if (tmpn == NULL)
__progname = progname;
else
- tmpn + 1;
+ __progname = tmpn + 1;
}