summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-26 08:45:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-26 08:45:47 +0000
commit50663e31ee3e3fbdb87999b718e485f2bea1036a (patch)
treed77471d0e0b78fd54a44938ede46b7cb0c1fc534 /sys/compat
parent79b94ceec523a39da2df8d2d483b661649ea487a (diff)
indent
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_socket.c58
1 files changed, 29 insertions, 29 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index 59cfeffe5ec..8acabfe65eb 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_socket.c,v 1.3 1996/04/17 05:24:01 mickey Exp $ */
+/* $OpenBSD: linux_socket.c,v 1.4 1997/11/26 08:45:46 deraadt Exp $ */
/* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */
/*
@@ -609,20 +609,20 @@ linux_setsockopt(p, uap, retval)
SCARG(&bsa, valsize) = lsa.optlen;
switch (SCARG(&bsa, level)) {
- case SOL_SOCKET:
- name = linux_to_bsd_so_sockopt(lsa.optname);
- break;
- case IPPROTO_IP:
- name = linux_to_bsd_ip_sockopt(lsa.optname);
- break;
- case IPPROTO_TCP:
- name = linux_to_bsd_tcp_sockopt(lsa.optname);
- break;
- case IPPROTO_UDP:
- name = linux_to_bsd_udp_sockopt(lsa.optname);
- break;
- default:
- return EINVAL;
+ case SOL_SOCKET:
+ name = linux_to_bsd_so_sockopt(lsa.optname);
+ break;
+ case IPPROTO_IP:
+ name = linux_to_bsd_ip_sockopt(lsa.optname);
+ break;
+ case IPPROTO_TCP:
+ name = linux_to_bsd_tcp_sockopt(lsa.optname);
+ break;
+ case IPPROTO_UDP:
+ name = linux_to_bsd_udp_sockopt(lsa.optname);
+ break;
+ default:
+ return EINVAL;
}
if (name == -1)
@@ -660,20 +660,20 @@ linux_getsockopt(p, uap, retval)
SCARG(&bga, avalsize) = lga.optlen;
switch (SCARG(&bga, level)) {
- case SOL_SOCKET:
- name = linux_to_bsd_so_sockopt(lga.optname);
- break;
- case IPPROTO_IP:
- name = linux_to_bsd_ip_sockopt(lga.optname);
- break;
- case IPPROTO_TCP:
- name = linux_to_bsd_tcp_sockopt(lga.optname);
- break;
- case IPPROTO_UDP:
- name = linux_to_bsd_udp_sockopt(lga.optname);
- break;
- default:
- return EINVAL;
+ case SOL_SOCKET:
+ name = linux_to_bsd_so_sockopt(lga.optname);
+ break;
+ case IPPROTO_IP:
+ name = linux_to_bsd_ip_sockopt(lga.optname);
+ break;
+ case IPPROTO_TCP:
+ name = linux_to_bsd_tcp_sockopt(lga.optname);
+ break;
+ case IPPROTO_UDP:
+ name = linux_to_bsd_udp_sockopt(lga.optname);
+ break;
+ default:
+ return EINVAL;
}
if (name == -1)