From 2729a7868427d6fb34a6b19e753c5ad28c4813ef 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/1bc4ba58f7ba417e369c1486cfefc8a251d6b2b8 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); }