diff --git a/usr.bin/rpcgen/rpc_svcout.c b/usr.bin/rpcgen/rpc_svcout.c index f90fd0d0ab16..59918b0b873c 100644 --- a/usr.bin/rpcgen/rpc_svcout.c +++ b/usr.bin/rpcgen/rpc_svcout.c @@ -763,7 +763,7 @@ write_msg_out(void) if (!Cflag) { f_print(fout, "void _msgout(msg)\n"); - f_print(fout, "\tconst char *msg;\n"); + f_print(fout, "\tchar *msg;\n"); } else { f_print(fout, "void _msgout(const char* msg)\n"); }