From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Bitsch To: development@lists.ipfire.org Subject: Re: [PATCH] pakfire_format_time(): Fix typo Date: Wed, 22 Mar 2023 17:38:44 +0100 Message-ID: In-Reply-To: <20230321101413.1592037-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6626982288069297940==" List-Id: --===============6626982288069297940== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bernhard Bitsc Am 21.03.2023 um 11:14 schrieb Stefan Schantl: > Fix a small typo when displaying the build time > which is longer than 1 hour. >=20 > In such a case the following message got displayed: >=20 > Build successfully completed in 01m07m02s >=20 > Which should be 01h07m02s >=20 > Signed-off-by: Stefan Schantl > --- > src/libpakfire/string.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 le= ngth, 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 --===============6626982288069297940==--