diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2014-02-04 05:51:15 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2014-02-04 05:51:15 +0000 |
commit | 4cbc0f892d039cf1bf8a895d63715c6bd5f6863f (patch) | |
tree | 352724c9c72b232fef2c31bb16e84fb84ae060a0 /src/sg_unmap.c | |
parent | 7a21fa031cd5f471ffbfbf1e2c8b2a27a6149657 (diff) | |
download | sg3_utils-4cbc0f892d039cf1bf8a895d63715c6bd5f6863f.tar.gz |
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
Diffstat (limited to 'src/sg_unmap.c')
-rw-r--r-- | src/sg_unmap.c | 6 |
1 files changed, 5 insertions, 1 deletions
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'}, |