summaryrefslogtreecommitdiff
path: root/libexec/rpc.rquotad/rquotad.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-08 04:29:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-08 04:29:17 +0000
commit6ada7ebbc61eaa94efa44cc8ecacf740a5a25e32 (patch)
tree1ca4cbe2f70cc21069784cb2413e9e1d5f416f59 /libexec/rpc.rquotad/rquotad.c
parent67d6e88d06a6a93f91041315730e67d138fa8441 (diff)
remove useless cast
Diffstat (limited to 'libexec/rpc.rquotad/rquotad.c')
-rw-r--r--libexec/rpc.rquotad/rquotad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c
index ddc39ce5796..f357b26c7af 100644
--- a/libexec/rpc.rquotad/rquotad.c
+++ b/libexec/rpc.rquotad/rquotad.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rquotad.c,v 1.20 2004/09/14 23:49:49 deraadt Exp $ */
+/* $OpenBSD: rquotad.c,v 1.21 2014/10/08 04:29:16 deraadt Exp $ */
/*
* by Manuel Bouyer (bouyer@ensta.fr). Public domain.
@@ -192,7 +192,7 @@ initfs(void)
if (!hasquota(fs, &qfpathname))
continue;
- fs_current = (struct fs_stat *) malloc(sizeof(struct fs_stat));
+ fs_current = malloc(sizeof(struct fs_stat));
if (fs_current == NULL) {
syslog(LOG_ERR, "can't malloc: %m");
exit(1);