summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tc.prompt.c
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
committermp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
commitfc6d10ab3edf803f748e673fdd1f64a3d9640ca2 (patch)
treed96ddad6fded51e784b4b77eea8ca0d82efa5497 /contrib/tcsh/tc.prompt.c
parent240d7c6f403b210d3609f1593f55dd73266bc844 (diff)
parentbbd1addf8f9452690ad13ce5b875ee4cc9633958 (diff)
downloadFreeBSD-src-fc6d10ab3edf803f748e673fdd1f64a3d9640ca2.zip
FreeBSD-src-fc6d10ab3edf803f748e673fdd1f64a3d9640ca2.tar.gz
This commit was generated by cvs2svn to compensate for changes in r131962,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcsh/tc.prompt.c')
-rw-r--r--contrib/tcsh/tc.prompt.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/tcsh/tc.prompt.c b/contrib/tcsh/tc.prompt.c
index 6c0a0a4..a979d94 100644
--- a/contrib/tcsh/tc.prompt.c
+++ b/contrib/tcsh/tc.prompt.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/tc.prompt.c,v 3.46 2002/07/12 13:16:19 christos Exp $ */
+/* $Header: /src/pub/tcsh/tc.prompt.c,v 3.47 2002/07/25 17:14:59 christos Exp $ */
/*
* tc.prompt.c: Prompt printing stuff
*/
@@ -32,7 +32,7 @@
*/
#include "sh.h"
-RCSID("$Id: tc.prompt.c,v 3.46 2002/07/12 13:16:19 christos Exp $")
+RCSID("$Id: tc.prompt.c,v 3.47 2002/07/25 17:14:59 christos Exp $")
#include "ed.h"
#include "tw.h"
@@ -554,7 +554,8 @@ tprintf(what, buf, fmt, siz, str, tim, info)
default:
#ifndef HAVENOUTMP
if (*cp == 'a' && what == FMT_WHO) {
- cz = who_info(info, 'a', (char *) cbuff, sizeof(cbuff));
+ cz = (unsigned char *) who_info(info, 'a', (char *) cbuff,
+ sizeof(cbuff));
for (; cz && *cz; *p++ = attributes | *cz++)
if (p >= ep) break;
}
OpenPOWER on IntegriCloud