diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.in | 1 | ||||
-rw-r--r-- | include/sg_lib.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/Makefile.in b/include/Makefile.in index 2e96a5fd..6ee60f64 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -291,6 +291,7 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/include/sg_lib.h b/include/sg_lib.h index f6eda9db..f1256794 100644 --- a/include/sg_lib.h +++ b/include/sg_lib.h @@ -574,7 +574,8 @@ int hex2str(const uint8_t * b_str, int len, const char * leadin, int format, * line or a comma, space or tab separated list of bytes. If no_space is * set then a string of ACSII hex digits is expected, 2 per byte. Everything * from and including a '#' on a line is ignored. Returns 0 if ok, or an - * error code. */ + * error code. If the error code is SG_LIB_LBA_OUT_OF_RANGE then mp_arr + * would be exceeded and both mp_arr and mp_arr_len are written to. */ int sg_f2hex_arr(const char * fname, bool as_binary, bool no_space, uint8_t * mp_arr, int * mp_arr_len, int max_arr_len); |