aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-02-24 09:50:33 +0100
committerMicael Karlberg <[email protected]>2012-02-24 09:50:33 +0100
commitf6b7aade87b64c4c60eba65dfac6310a8c7bf139 (patch)
tree6bac3d143b043159931b64ecdfebd86d340dafe2 /lib
parent3300db1f77c2df05786807591e8605708cd5c62a (diff)
downloadotp-f6b7aade87b64c4c60eba65dfac6310a8c7bf139.tar.gz
otp-f6b7aade87b64c4c60eba65dfac6310a8c7bf139.tar.bz2
otp-f6b7aade87b64c4c60eba65dfac6310a8c7bf139.zip
[snmp] Fixed verbosity timestamp
Diffstat (limited to 'lib')
-rw-r--r--lib/snmp/src/misc/snmp_verbosity.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/src/misc/snmp_verbosity.erl b/lib/snmp/src/misc/snmp_verbosity.erl
index f2f85ebf79..df5986b7bc 100644
--- a/lib/snmp/src/misc/snmp_verbosity.erl
+++ b/lib/snmp/src/misc/snmp_verbosity.erl
@@ -76,7 +76,7 @@ format_timestamp({_N1, _N2, N3} = Now) ->
{YYYY,MM,DD} = Date,
{Hour,Min,Sec} = Time,
FormatDate =
- io_lib:format("~.4w:~.2.0w:~.2.0w ~.2.0w:~.2.0w:~.2.0w 4~w",
+ io_lib:format("~.4w:~.2.0w:~.2.0w ~.2.0w:~.2.0w:~.2.0w ~w",
[YYYY,MM,DD,Hour,Min,Sec,round(N3/1000)]),
lists:flatten(FormatDate).