summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.statd/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpc.statd/file.c')
-rw-r--r--usr.sbin/rpc.statd/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.statd/file.c b/usr.sbin/rpc.statd/file.c
index 5733ce2..4c17e5d 100644
--- a/usr.sbin/rpc.statd/file.c
+++ b/usr.sbin/rpc.statd/file.c
@@ -137,7 +137,7 @@ HostInfo *find_host(char *hostname, int create)
the state number to the next even value.
*/
-void init_file(char *filename)
+void init_file(const char *filename)
{
int new_file = FALSE;
char buf[HEADER_LEN];
OpenPOWER on IntegriCloud