Module Name: src Committed By: dholland Date: Sat May 29 23:05:22 UTC 2010
Modified Files: src/libexec/comsat: comsat.c Log Message: Don't launder const To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/libexec/comsat/comsat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/comsat/comsat.c diff -u src/libexec/comsat/comsat.c:1.39 src/libexec/comsat/comsat.c:1.40 --- src/libexec/comsat/comsat.c:1.39 Sat Mar 14 11:43:24 2009 +++ src/libexec/comsat/comsat.c Sat May 29 23:05:22 2010 @@ -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 @@ #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 @@ 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 @@ } static void -mailfor(const char *name) +mailfor(char *name) { struct utmpentry *ep; char *cp, *fn;