some gcc5 compil fixes

Origin commit data
------------------
Branch: ni/coolstream
Commit: ddb3c15d4b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-26 (Sat, 26 Dec 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-12-26 17:03:42 +01:00
parent ce3c73ee12
commit 86cc4a8fb9
5 changed files with 9 additions and 8 deletions

View File

@@ -30,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <inttypes.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -282,7 +283,7 @@ int check_dir(const char * dir, bool allow_tmp)
ret = 0; // ok
}
if(ret == -1)
printf("Wrong Filessystem Type: 0x%x\n",s.f_type);
printf("Wrong Filessystem Type: 0x%" PRIx64"\n",s.f_type);
}
return ret;
}