From 1b89f9241f6ee853d8d73918b467c08f64dd70e9 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 16 Apr 2019 23:15:58 +0200 Subject: [PATCH] - fix indentation Signed-off-by: Thilo Graf --- libarmbox/video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index dcf064c..28f1476 100644 --- a/libarmbox/video.cpp +++ b/libarmbox/video.cpp @@ -1105,10 +1105,10 @@ void get_osd_buf(unsigned char *osd_data) memcpy(osd_data,lfb,fix_screeninfo.line_length*var_screeninfo.yres); } - if (munmap(lfb, fix_screeninfo.smem_len) == -1) + if (munmap(lfb, fix_screeninfo.smem_len) == -1) { perror("Error un-mmapping"); - } + } close(fb); }