summaryrefslogtreecommitdiffstats
path: root/usr.bin/tee/tee.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tee/tee.c')
-rw-r--r--usr.bin/tee/tee.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tee/tee.c b/usr.bin/tee/tee.c
index c393200..da541ff 100644
--- a/usr.bin/tee/tee.c
+++ b/usr.bin/tee/tee.c
@@ -58,11 +58,11 @@ static const char rcsid[] =
typedef struct _list {
struct _list *next;
int fd;
- char *name;
+ const char *name;
} LIST;
LIST *head;
-void add __P((int, char *));
+void add __P((int, const char *));
static void usage __P((void));
int
@@ -134,7 +134,7 @@ usage()
void
add(fd, name)
int fd;
- char *name;
+ const char *name;
{
LIST *p;
OpenPOWER on IntegriCloud