From 44cfc722cc5c6181c1822b7c4ac9c34d3fed2eeb Mon Sep 17 00:00:00 2001 From: mmcc Date: Tue, 22 Dec 2015 08:48:40 +0000 Subject: remove needless allocation casts --- usr.bin/rdistd/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/rdistd') diff --git a/usr.bin/rdistd/server.c b/usr.bin/rdistd/server.c index 7e70e3b6b6f..23188f9225a 100644 --- a/usr.bin/rdistd/server.c +++ b/usr.bin/rdistd/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.39 2015/12/22 08:22:33 mmcc Exp $ */ +/* $OpenBSD: server.c,v 1.40 2015/12/22 08:48:39 mmcc Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -517,7 +517,7 @@ docmdspecial(void) case RC_FILE: if (env == NULL) { len = (2 * sizeof(E_FILES)) + strlen(cp) + 10; - env = (char *) xmalloc(len); + env = xmalloc(len); (void) snprintf(env, len, "export %s;%s=%s", E_FILES, E_FILES, cp); } else { -- cgit v1.2.3