aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_util.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-03-12 15:35:24 +0000
committerEd Maste <emaste@FreeBSD.org>2018-03-12 15:35:24 +0000
commit340f4a8d3e55d1865cbfdfdf4a46bdac7fd6a5de (patch)
treee3c7f989e0b4cbcf07a1560ac92f26ef74544a59 /sys/compat/linux/linux_util.c
parent22b3d71e82d73e3189e66e709eb949c517654305 (diff)
Linuxulator: apply style(9) to return
Sponsored by: Turing Robotic Industries Inc.
Notes
Notes: svn path=/head/; revision=330798
Diffstat (limited to 'sys/compat/linux/linux_util.c')
-rw-r--r--sys/compat/linux/linux_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_util.c b/sys/compat/linux/linux_util.c
index 4cae2ffecc37..8b6a9261e4ac 100644
--- a/sys/compat/linux/linux_util.c
+++ b/sys/compat/linux/linux_util.c
@@ -116,7 +116,7 @@ linux_driver_get_name_dev(device_t dev)
const char *device_name = device_get_name(dev);
if (device_name == NULL)
- return NULL;
+ return (NULL);
TAILQ_FOREACH(de, &devices, list) {
if (strcmp(device_name, de->entry.bsd_driver_name) == 0)
return (de->entry.linux_driver_name);
@@ -133,7 +133,7 @@ linux_driver_get_major_minor(const char *node, int *major, int *minor)
size_t sz;
if (node == NULL || major == NULL || minor == NULL)
- return 1;
+ return (1);
sz = sizeof("pts/") - 1;
if (strncmp(node, "pts/", sz) == 0 && node[sz] != '\0') {