diff --git a/ThunderboltTimeSync/SystemTimeUtils.cs b/ThunderboltTimeSync/SystemTimeUtils.cs index 4573c11..9ac9a1f 100644 --- a/ThunderboltTimeSync/SystemTimeUtils.cs +++ b/ThunderboltTimeSync/SystemTimeUtils.cs @@ -4,7 +4,7 @@ using System.Runtime.InteropServices; namespace ThunderboltTimeSync { class SystemTimeUtils { public class SystemTimeException : Exception { - public SystemTimeException(int hresult) : base(string.Format("The system time could not be set (HRESULT 0x{1:X8}).", hresult)) { + public SystemTimeException(int hresult) : base(string.Format("The system time could not be set (HRESULT 0x{0:X8}).", hresult)) { HResult = hresult; } }