diff --git a/src/vol/volume.c b/src/vol/volume.c index 1b0588824d..d93c63c171 100644 --- a/src/vol/volume.c +++ b/src/vol/volume.c @@ -4632,11 +4632,14 @@ VCheckOffline(Volume * vp) VUpdateVolume_r(&error, vp, 0); VCloseVolumeHandles_r(vp); if (LogLevel) { - Log("VOffline: Volume %u (%s) is now offline", V_id(vp), - V_name(vp)); - if (V_offlineMessage(vp)[0]) - Log(" (%s)", V_offlineMessage(vp)); - Log("\n"); + if (V_offlineMessage(vp)[0]) { + Log("VOffline: Volume %lu (%s) is now offline (%s)\n", + afs_printable_uint32_lu(V_id(vp)), V_name(vp), + V_offlineMessage(vp)); + } else { + Log("VOffline: Volume %lu (%s) is now offline\n", + afs_printable_uint32_lu(V_id(vp)), V_name(vp)); + } } FreeVolumeHeader(vp); #ifdef AFS_PTHREAD_ENV