From fc9268aa120ce043be32f7cd55c5a8805eb11229 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 16 Apr 2019 23:15:58 +0200 Subject: [PATCH] fix indentation Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/0c86638cfe97d90efabb7fd75cadf771524b566b Author: vanhofen Date: 2019-04-16 (Tue, 16 Apr 2019) Origin message was: ------------------ - fix indentation ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libarmbox/video.cpp b/libarmbox/video.cpp index fecec73..d21b0d7 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); }