summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/config/mtab_file.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2002-08-05 07:24:27 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2002-08-05 07:24:27 +0000
commitae980d3105e2c0aeae812a8fa319124c4d0e1e0d (patch)
treeb5adbec587b6ad4e48f8e311fbb9d9f1d091aebb /usr.sbin/amd/config/mtab_file.c
parent6bcada130c3d1e61ca223494309ab95dae23b19a (diff)
Get rid of useless local definitions P_void, voidp, Const and use
void, void *, const respectively; some cosmetics; ok deraadt
Diffstat (limited to 'usr.sbin/amd/config/mtab_file.c')
-rw-r--r--usr.sbin/amd/config/mtab_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/amd/config/mtab_file.c b/usr.sbin/amd/config/mtab_file.c
index 31906aba9fc..066089d5787 100644
--- a/usr.sbin/amd/config/mtab_file.c
+++ b/usr.sbin/amd/config/mtab_file.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)mtab_file.c 8.1 (Berkeley) 6/6/93
- * $Id: mtab_file.c,v 1.2 2002/06/10 21:07:14 itojun Exp $
+ * $Id: mtab_file.c,v 1.3 2002/08/05 07:24:26 pvalchev Exp $
*/
#include "am.h"
@@ -229,7 +229,7 @@ eacces:
tv.tv_sec = 0;
tv.tv_usec = (mypid & 0x07) << 17;
if (tv.tv_usec)
- if (select(0, (voidp) 0, (voidp) 0, (voidp) 0, &tv) < 0)
+ if (select(0, (void *)0, (void *)0, (void *)0, &tv) < 0)
plog(XLOG_WARNING, "mtab nap failed: %m");
goto again;