From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] pakfire_format_time(): Fix typo Date: Tue, 21 Mar 2023 11:14:13 +0100 Message-ID: <20230321101413.1592037-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8208020164438604694==" List-Id: --===============8208020164438604694== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fix a small typo when displaying the build time which is longer than 1 hour. In such a case the following message got displayed: Build successfully completed in 01m07m02s Which should be 01h07m02s Signed-off-by: Stefan Schantl --- src/libpakfire/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpakfire/string.c b/src/libpakfire/string.c index 8eaf8d91..931ba701 100644 --- a/src/libpakfire/string.c +++ b/src/libpakfire/string.c @@ -394,7 +394,7 @@ int __pakfire_format_time(char* buffer, const size_t leng= th, const time_t t) { if (t >=3D 86400) format =3D "%dd%Hh%Mm"; else if (t >=3D 3600) - format =3D "%Hm%Mm%Ss"; + format =3D "%Hh%Mm%Ss"; else if (t >=3D 60) format =3D "%Mm%Ss"; else --=20 2.30.2 --===============8208020164438604694==--