summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-02-02 23:25:16 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-02-02 23:25:16 +0000
commit6b7122751164150401ca880eae93467011e9896b (patch)
tree60ba8c98638a3f5f6e9ca5d077f30662a27934fe
parent7b61f748d4d0b375fc8f4c1b7e82c4416cdf1ef8 (diff)
Wrap long lines.
-rw-r--r--sys/compat/common/kern_info_43.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/sys/compat/common/kern_info_43.c b/sys/compat/common/kern_info_43.c
index 4b9d52138ff..1d1dd55314b 100644
--- a/sys/compat/common/kern_info_43.c
+++ b/sys/compat/common/kern_info_43.c
@@ -1,4 +1,4 @@
-/* $Id: kern_info_43.c,v 1.2 1996/02/02 22:45:44 etheisen Exp $ */
+/* $Id: kern_info_43.c,v 1.3 1996/02/02 23:25:15 etheisen Exp $ */
/* $NetBSD: kern_info_43.c,v 1.3 1995/10/07 06:26:24 mycroft Exp $ */
@@ -242,15 +242,18 @@ compat_43_sys_getkerninfo(p, v, retval)
s = bsdi_strings;
- bsdi_si.bsdi_ostype = ((char *)(s - bsdi_strings)) + sizeof(bsdi_si);
+ bsdi_si.bsdi_ostype = ((char *)(s - bsdi_strings)) +
+ sizeof(bsdi_si);
strcpy(s, ostype);
s += strlen(s) + 1;
- bsdi_si.bsdi_osrelease = ((char *)(s - bsdi_strings)) + sizeof(bsdi_si);
+ bsdi_si.bsdi_osrelease = ((char *)(s - bsdi_strings)) +
+ sizeof(bsdi_si);
strcpy(s, osrelease);
s += strlen(s) + 1;
- bsdi_si.bsdi_machine = ((char *)(s - bsdi_strings)) + sizeof(bsdi_si);
+ bsdi_si.bsdi_machine = ((char *)(s - bsdi_strings)) +
+ sizeof(bsdi_si);
strcpy(s, machine);
s += strlen(s) + 1;
@@ -270,7 +273,8 @@ compat_43_sys_getkerninfo(p, v, retval)
/* how much of the buffer is remaining */
left = size;
- if ((error = copyout((char *)&bsdi_si, SCARG(uap, where), left)) != 0)
+ if ((error = copyout((char *)&bsdi_si, SCARG(uap, where),
+ left)) != 0)
break;
/* is there any point in continuing? */
@@ -279,8 +283,8 @@ compat_43_sys_getkerninfo(p, v, retval)
else
break;
- error = copyout(&bsdi_strings, SCARG(uap, where) + sizeof(bsdi_si),
- left);
+ error = copyout(&bsdi_strings, SCARG(uap, where) +
+ sizeof(bsdi_si), left);
break;
}