From 4cbc0f892d039cf1bf8a895d63715c6bd5f6863f Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Tue, 4 Feb 2014 05:51:15 +0000 Subject: sg_persist: add --transport-id= for SOP; sg_lib.h: add PDT_ZBC define and pdt string git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@549 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- src/sg_unmap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/sg_unmap.c') diff --git a/src/sg_unmap.c b/src/sg_unmap.c index aaafc2b0..22b2b9db 100644 --- a/src/sg_unmap.c +++ b/src/sg_unmap.c @@ -30,12 +30,16 @@ * logical blocks. */ -static const char * version_str = "1.05 20140126"; +static const char * version_str = "1.05 20140203"; #define DEF_TIMEOUT_SECS 60 #define MAX_NUM_ADDR 128 +#ifndef UINT32_MAX +#define UINT32_MAX ((uint32_t)-1) +#endif + static struct option long_options[] = { {"anchor", no_argument, 0, 'a'}, -- cgit v1.2.3