summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Goddard Rosa <andre.goddard@gmail.com>2010-02-05 17:48:07 -0200
committerAndré Goddard Rosa <andre.goddard@gmail.com>2010-02-05 17:48:07 -0200
commit699237baf54af3395311ad71ebedce20745c4cb2 (patch)
treefc04a8463951028e8ebd95401f59dd7da32f001a
parent95604529ec25fe7923ba88312c590f38aa5e3d9e (diff)
downloadbionic-699237baf54af3395311ad71ebedce20745c4cb2.zip
bionic-699237baf54af3395311ad71ebedce20745c4cb2.tar.gz
bionic-699237baf54af3395311ad71ebedce20745c4cb2.tar.bz2
bionic: equalize the <unknown> program name between ssp.c and libc_init_common.c
... for the consistency sake. Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
-rw-r--r--libc/bionic/ssp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/bionic/ssp.c b/libc/bionic/ssp.c
index 20794f4..f83b2a4 100644
--- a/libc/bionic/ssp.c
+++ b/libc/bionic/ssp.c
@@ -76,9 +76,9 @@ void __stack_chk_fail(void)
sigprocmask(SIG_BLOCK, &sigmask, NULL);
/* Use /proc/self/exe link to obtain the program name for logging
- * purposes. If it's not available, we set it to "unknown" */
+ * purposes. If it's not available, we set it to "<unknown>" */
if ((count = readlink("/proc/self/exe", path, sizeof(path) - 1)) == -1) {
- strlcpy(path, "unknown", sizeof(path));
+ strlcpy(path, "<unknown>", sizeof(path));
} else {
path[count] = '\0';
}