diff options
| author | dholland <dholland@NetBSD.org> | 2010-05-29 23:05:22 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2010-05-29 23:05:22 +0000 |
| commit | 5f666bd308215d286df580da3fa15afbb2d40f20 (patch) | |
| tree | 9adb73c96ffee9605ca4c744760d116ca22727d8 /libexec/comsat | |
| parent | f4fdd2aad759ab305141be392d4bca0540ef0343 (diff) | |
Don't launder const
Diffstat (limited to 'libexec/comsat')
| -rw-r--r-- | libexec/comsat/comsat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index 5b0450160e6..743147ea580 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -1,4 +1,4 @@ -/* $NetBSD: comsat.c,v 1.39 2009/03/14 11:43:24 lukem Exp $ */ +/* $NetBSD: comsat.c,v 1.40 2010/05/29 23:05:22 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -36,7 +36,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\ #if 0 static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: comsat.c,v 1.39 2009/03/14 11:43:24 lukem Exp $"); +__RCSID("$NetBSD: comsat.c,v 1.40 2010/05/29 23:05:22 dholland Exp $"); #endif #endif /* not lint */ @@ -89,7 +89,7 @@ static volatile sig_atomic_t needupdate; int main(int, char *[]); static void jkfprintf(FILE *, const char *, off_t, const char *); -static void mailfor(const char *); +static void mailfor(char *); static void notify(const struct utmpentry *, off_t); static void onalrm(int); static void checkutmp(void); @@ -183,7 +183,7 @@ checkutmp(void) } static void -mailfor(const char *name) +mailfor(char *name) { struct utmpentry *ep; char *cp, *fn; |
