Changeset 80511 in vbox for trunk/src/VBox/ImageMounter/vboximg-mount/vboximgMedia.cpp
- Timestamp:
- Aug 30, 2019 11:03:01 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ImageMounter/vboximg-mount/vboximgMedia.cpp
r76553 r80511 203 203 static void displayMediumInfo(MEDIUMINFO *pInfo, int nestLevel, bool fLast) 204 204 { 205 206 char *cbScaled = vboximgScaledSize(pInfo->cbSize); 205 char *pszSzScaled = vboximgScaledSize(pInfo->cbSize); 207 206 int cPad = nestLevel * 2; 208 207 if (g_vboximgOpts.fWide && !g_vboximgOpts.fVerbose) … … 211 210 !fLast ? (pInfo->fSnapshot ? " | " : " +-") : (pInfo->fSnapshot ? " " : " +-"), 212 211 VM_MAX_NAME, pInfo->fSnapshot ? "+- <snapshot>" : pInfo->pszName, 213 cbScaled,212 pszSzScaled, 214 213 pInfo->pszFormat, 215 214 pInfo->pszState, 216 215 cPad, "", pInfo->pszUuid); 217 RTMemFree(cbScaled);218 216 } 219 217 else … … 229 227 RTPrintf(" Path: %s\n", pInfo->pszPath); 230 228 RTPrintf(" Format: %s\n", pInfo->pszFormat); 231 RTPrintf(" Size: %s\n", cbScaled);229 RTPrintf(" Size: %s\n", pszSzScaled); 232 230 RTPrintf(" State: %s\n", pInfo->pszState); 233 231 RTPrintf(" Type: %s\n", pInfo->pszType); … … 243 241 RTPrintf(" Desc: %s\n", pInfo->pszDescription); 244 242 } 245 RTPrintf(" Size: %s\n", cbScaled);243 RTPrintf(" Size: %s\n", pszSzScaled); 246 244 if (g_vboximgOpts.fVerbose) 247 245 RTPrintf(" Path: %s\n", pInfo->pszPath); … … 249 247 } 250 248 } 249 RTMemFree(pszSzScaled); 251 250 } 252 251
Note:
See TracChangeset
for help on using the changeset viewer.