commit: 2f3808524d6309c5b48e9df77b75815265e24f57
parent 3e122d2c07a01cedf2af6625c6bf227d05ea57ca
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 19 Sep 2024 18:09:29 +0200
cmd/arch: unify error message formatting
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/arch.c b/cmd/arch.c
@@ -15,13 +15,13 @@ main(void)
struct utsname name;
if(uname(&name) < 0)
{
- perror("arch: Failed to get system name");
+ perror("arch: error: Failed to get system name");
return 1;
}
if(puts(name.machine) < 0)
{
- perror("arch: Failed to write machine architecture");
+ perror("arch: error: Failed to write machine architecture");
return 1;
}