diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-12-23 05:35:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-12-23 05:35:09 +0000 |
commit | e3ed1096acde039ec12226789224db75d6e81968 (patch) | |
tree | 1ea8e2fa83f5eb886dfeed14b01424480bbefaef /sys/kern/kern_pledge.c | |
parent | dcda49c37183dfad67fb4305766d0fb92701f5be (diff) |
wrap a line better
Diffstat (limited to 'sys/kern/kern_pledge.c')
-rw-r--r-- | sys/kern/kern_pledge.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 13fcf77f88a..0c3a697d21e 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.300 2022/12/05 23:18:37 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.301 2022/12/23 05:35:08 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -430,8 +430,7 @@ parsepledges(struct proc *p, const char *kname, const char *promises, u_int64_t int error; rbuf = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); - error = copyinstr(promises, rbuf, MAXPATHLEN, - &rbuflen); + error = copyinstr(promises, rbuf, MAXPATHLEN, &rbuflen); if (error) { free(rbuf, M_TEMP, MAXPATHLEN); return (error); |