aboutsummaryrefslogtreecommitdiff
path: root/src/sg_luns.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2007-12-19 16:35:49 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2007-12-19 16:35:49 +0000
commitb4530ba23ca6fb39e2bbf56afa4fdc892bf16910 (patch)
tree6a1ad36741c45c218f6ba11001c8260b18e4a09a /src/sg_luns.c
parent2fdbef700da5c71ab2eaf80547704d03e7a93f91 (diff)
downloadsg3_utils-b4530ba23ca6fb39e2bbf56afa4fdc892bf16910.tar.gz
change 'long long' to int64_t to stress only need 64 bit integers (similar change to uint64_t)
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@128 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_luns.c')
-rw-r--r--src/sg_luns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sg_luns.c b/src/sg_luns.c
index 109eb53e..9a5b07fb 100644
--- a/src/sg_luns.c
+++ b/src/sg_luns.c
@@ -101,7 +101,7 @@ static void decode_lun(const char * leadin, unsigned char * lunp)
unsigned char not_spec[8] = {0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff};
char l_leadin[128];
- unsigned long long ull;
+ uint64_t ull;
if (0 == memcmp(lunp, not_spec, sizeof(not_spec))) {
printf("%sLogical unit not specified\n", leadin);