From b0e25e796fe53219a505d023e08b9ea60f6361a2 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 21 Aug 2015 22:04:04 +0200 Subject: [PATCH] for debug filesystem Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c06e5b1407ee4089755a60e5b67a5d035394bacf Author: Jacek Jendrzej Date: 2015-08-21 (Fri, 21 Aug 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/system/helpers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/helpers.cpp b/src/system/helpers.cpp index d273f26fe..ae6c6a23f 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -281,6 +281,8 @@ int check_dir(const char * dir, bool allow_tmp) default: ret = 0; // ok } + if(ret == -1) + printf("Wrong Filessystem Type: 0x%lx\n",s.f_type); } return ret; }