[PATCH 2/2] Cleanup stray newline in a return statement
Bryce W. Harrington
b.harrington at samsung.com
Tue Jan 14 13:58:34 PST 2014
Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
src/libbacklight.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/libbacklight.c b/src/libbacklight.c
index b3acc63..a9d7ef1 100644
--- a/src/libbacklight.c
+++ b/src/libbacklight.c
@@ -51,8 +51,7 @@ static long backlight_get(struct backlight *backlight, char *node)
long value, ret;
if (asprintf(&path, "%s/%s", backlight->path, node) < 0)
- return -ENOMEM
-;
+ return -ENOMEM;
fd = open(path, O_RDONLY);
if (fd < 0) {
ret = -1;
--
1.7.9.5
More information about the wayland-devel
mailing list