aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Bright <dab@FreeBSD.org>2018-08-14 20:26:54 +0000
committerDavid Bright <dab@FreeBSD.org>2018-08-14 20:26:54 +0000
commit4e258e2d9f7e2ea1f7a06f8583fa82cc59e0f07f (patch)
treec549a94f9fc5c07e07734294ed9004e3627b509c /tests
parent0ec68024a07c10b620c5a28a393ad03f8d7d7201 (diff)
downloadsrc-4e258e2d9f7e2ea1f7a06f8583fa82cc59e0f07f.tar.gz
src-4e258e2d9f7e2ea1f7a06f8583fa82cc59e0f07f.zip
Fix a couple whitespace errors in r337814.
Reported by: Renato Botelho <garga.bsd@gmail.com> MFC after: 3 days X-MFC-with: r337814 Sponsored by: Dell EMC
Notes
Notes: svn path=/head/; revision=337820
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/kqueue/libkqueue/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/sys/kqueue/libkqueue/main.c b/tests/sys/kqueue/libkqueue/main.c
index 33a2ed0d3ee8..455a236183b3 100644
--- a/tests/sys/kqueue/libkqueue/main.c
+++ b/tests/sys/kqueue/libkqueue/main.c
@@ -239,9 +239,9 @@ kevent_add(int kqfd, struct kevent *kev,
EV_SET(kev, ident, filter, flags, fflags, data, NULL);
if (kevent(kqfd, kev, 1, NULL, 0, NULL) < 0) {
- kev_str = kevent_to_str(kev);
+ kev_str = kevent_to_str(kev);
printf("Unable to add the following kevent:\n%s\n",
- kev_str);
+ kev_str);
free(kev_str);
err(1, "kevent(): %s", strerror(errno));
}
@@ -265,9 +265,9 @@ kevent_cmp(struct kevent *k1, struct kevent *k2)
k1->data != k2->data || k1->udata != k2->udata ||
k1->ext[0] != k2->ext[0] || k1->ext[1] != k2->ext[1] ||
k1->ext[0] != k2->ext[2] || k1->ext[0] != k2->ext[3]) {
- kev1_str = kevent_to_str(k1);
+ kev1_str = kevent_to_str(k1);
kev2_str = kevent_to_str(k2);
- printf("kevent_cmp: mismatch:\n %s !=\n %s\n",
+ printf("kevent_cmp: mismatch:\n %s !=\n %s\n",
kev1_str, kev2_str);
free(kev1_str);
free(kev2_str);