summaryrefslogtreecommitdiff
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-04-23 13:34:52 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-04-23 13:34:52 +0000
commit0695dce904b99103b4cc7fec55d7413358ac120d (patch)
treef6995bddf31b3aab28d430274a64849f9e1a49ec /usr.sbin/amd
parent4f8231b24973fc14e0973e84cca023b7a139b478 (diff)
correct indentation; no functional change
ok tb@
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/amq_subr.c4
-rw-r--r--usr.sbin/amd/amd/nfs_ops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/amd/amd/amq_subr.c b/usr.sbin/amd/amd/amq_subr.c
index c1fce38b3a2..174fb7c2353 100644
--- a/usr.sbin/amd/amd/amq_subr.c
+++ b/usr.sbin/amd/amd/amq_subr.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)amq_subr.c 8.1 (Berkeley) 6/6/93
- * $Id: amq_subr.c,v 1.19 2022/12/28 21:30:15 jmc Exp $
+ * $Id: amq_subr.c,v 1.20 2024/04/23 13:34:51 jsg Exp $
*/
/*
@@ -300,7 +300,7 @@ xdr_amq_mount_stats(XDR *xdrs, amq_mount_stats *objp)
bool_t
xdr_amq_mount_tree_list(XDR *xdrs, amq_mount_tree_list *objp)
{
- if (!xdr_array(xdrs, (char **)&objp->amq_mount_tree_list_val, (u_int *)&objp->amq_mount_tree_list_len, ~0, sizeof(amq_mount_tree_p), xdr_amq_mount_tree_p)) {
+ if (!xdr_array(xdrs, (char **)&objp->amq_mount_tree_list_val, (u_int *)&objp->amq_mount_tree_list_len, ~0, sizeof(amq_mount_tree_p), xdr_amq_mount_tree_p)) {
return (FALSE);
}
return (TRUE);
diff --git a/usr.sbin/amd/amd/nfs_ops.c b/usr.sbin/amd/amd/nfs_ops.c
index 7c2e01e6a16..2ad336386ed 100644
--- a/usr.sbin/amd/amd/nfs_ops.c
+++ b/usr.sbin/amd/amd/nfs_ops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_ops.c,v 1.27 2021/10/21 10:55:56 deraadt Exp $ */
+/* $OpenBSD: nfs_ops.c,v 1.28 2024/04/23 13:34:51 jsg Exp $ */
/*-
* Copyright (c) 1990 Jan-Simon Pendry
@@ -377,7 +377,7 @@ call_mountd(fh_cache *fp, u_long proc, fwd_fun f, void *wchan)
* to be redone. The quick solution here is to invalidate the MOUNTD
* port.
*/
- fp->fh_sin.sin_port = 0;
+ fp->fh_sin.sin_port = 0;
return error;
}