Fix build failure of example program because of __FBSDID define.
Fixes #283
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Set a default error message if message passed in is NULL.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Use correct define for libarchive version number in archive.h.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
Set offset to correct data type.
Fixes #282
Signed-off-by: Andres Mejia <amejia004@gmail.com>