diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2009-04-22 19:35:28 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2009-04-22 19:35:28 +0000 |
commit | fbb986efcd8790e4e6c4b1d44f8db37a77939156 (patch) | |
tree | 45180782bb568d2e6272522d80b6bb2cc43246b9 /src/sg_vpd_vendor.c | |
parent | 8b4058cd02c923d47d6d4f1225691624c7f0298c (diff) | |
download | sg3_utils-fbb986efcd8790e4e6c4b1d44f8db37a77939156.tar.gz |
further SG_LIB_* work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@259 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_vpd_vendor.c')
-rw-r--r-- | src/sg_vpd_vendor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sg_vpd_vendor.c b/src/sg_vpd_vendor.c index 77f8c9e2..7b58cf90 100644 --- a/src/sg_vpd_vendor.c +++ b/src/sg_vpd_vendor.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2008 Douglas Gilbert. + * Copyright (c) 2006-2009 Douglas Gilbert. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -33,7 +33,7 @@ #include <stdlib.h> #include <string.h> -#ifndef SG3_UTILS_MINGW +#ifndef SG_LIB_MINGW #include <time.h> #endif @@ -447,7 +447,7 @@ static void decode_rdac_vpd_c8(unsigned char * buff, int len) { int i; -#ifndef SG3_UTILS_MINGW +#ifndef SG_LIB_MINGW time_t tstamp; #endif char *c; @@ -475,7 +475,7 @@ decode_rdac_vpd_c8(unsigned char * buff, int len) } printf(" Volume Unique Identifier: %s\n", uuid); -#ifndef SG3_UTILS_MINGW +#ifndef SG_LIB_MINGW tstamp = (buff[24] << 24) + (buff[25] << 16) + (buff[26] << 8) + buff[27]; printf(" Creation Number: %d, Timestamp: %s", (buff[22] << 8) + buff[23], ctime(&tstamp)); |