diff options
author | Jaesung Chung <jaesung@google.com> | 2016-01-28 10:14:36 +0900 |
---|---|---|
committer | Jaesung Chung <jaesung@google.com> | 2016-01-28 10:14:36 +0900 |
commit | 2cbe01bf1d96c5770329ed1eaee7251400e44a36 (patch) | |
tree | 7d0282fe7812c2987222e7353d60a63187366022 | |
parent | c1a6aaebe86b427fefbc72fdca28e96aa15c9ba1 (diff) | |
download | jhead-2cbe01bf1d96c5770329ed1eaee7251400e44a36.tar.gz |
Fix GpsTimeStamp format string
Bug: 26816278
Change-Id: I01102e0ac18fdd7e782a997af3fe571be3237ea4
-rw-r--r-- | gpsinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ void ProcessGpsInfo(unsigned char * DirStart, int ByteCountUnused, unsigned char case TAG_GPS_TIMESTAMP: snprintf(ImageInfo.GpsTimeStamp, - sizeof(ImageInfo.GpsTimeStamp), "%d:%d:%d", + sizeof(ImageInfo.GpsTimeStamp), "%02d:%02d:%02d", (int) ConvertAnyFormat(ValuePtr, Format), (int) ConvertAnyFormat(ValuePtr + 8, Format), (int) ConvertAnyFormat(ValuePtr + 16, Format) |