summaryrefslogtreecommitdiffstats
path: root/src/busctl
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-07-01 23:33:20 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-07-02 12:10:12 +0200
commitda890466433279d2a6714e3571fc8d7dc4369e4d (patch)
treef494ead2b43466772758711ebb9c9b9841b053e3 /src/busctl
parentNEWS: reword/fix/extend the entries for v254 (diff)
downloadsystemd-da890466433279d2a6714e3571fc8d7dc4369e4d.tar.xz
systemd-da890466433279d2a6714e3571fc8d7dc4369e4d.zip
tree-wide: "<n>bit" → "<n>-bit"
In some places, "<n> bits" is used when more appropriate.
Diffstat (limited to 'src/busctl')
-rw-r--r--src/busctl/busctl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c
index b1ea0dea56..eab0c72707 100644
--- a/src/busctl/busctl.c
+++ b/src/busctl/busctl.c
@@ -1483,7 +1483,7 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
r = safe_atou8(v, &z);
if (r < 0)
- return log_error_errno(r, "Failed to parse '%s' as byte (unsigned 8bit integer): %m", v);
+ return log_error_errno(r, "Failed to parse '%s' as byte (unsigned 8-bit integer): %m", v);
r = sd_bus_message_append_basic(m, t, &z);
break;
@@ -1494,7 +1494,7 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
r = safe_atoi16(v, &z);
if (r < 0)
- return log_error_errno(r, "Failed to parse '%s' as signed 16bit integer: %m", v);
+ return log_error_errno(r, "Failed to parse '%s' as signed 16-bit integer: %m", v);
r = sd_bus_message_append_basic(m, t, &z);
break;
@@ -1505,7 +1505,7 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
r = safe_atou16(v, &z);
if (r < 0)
- return log_error_errno(r, "Failed to parse '%s' as unsigned 16bit integer: %m", v);
+ return log_error_errno(r, "Failed to parse '%s' as unsigned 16-bit integer: %m", v);
r = sd_bus_message_append_basic(m, t, &z);
break;
@@ -1516,7 +1516,7 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
r = safe_atoi32(v, &z);
if (r < 0)
- return log_error_errno(r, "Failed to parse '%s' as signed 32bit integer: %m", v);
+ return log_error_errno(r, "Failed to parse '%s' as signed 32-bit integer: %m", v);
r = sd_bus_message_append_basic(m, t, &z);
break;
@@ -1527,7 +1527,7 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
r = safe_atou32(v, &z);
if (r < 0)
- return log_error_errno(r, "Failed to parse '%s' as unsigned 32bit integer: %m", v);
+ return log_error_errno(r, "Failed to parse '%s' as unsigned 32-bit integer: %m", v);
r = sd_bus_message_append_basic(m, t, &z);
break;
@@ -1538,7 +1538,7 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
r = safe_atoi64(v, &z);
if (r < 0)
- return log_error_errno(r, "Failed to parse '%s' as signed 64bit integer: %m", v);
+ return log_error_errno(r, "Failed to parse '%s' as signed 64-bit integer: %m", v);
r = sd_bus_message_append_basic(m, t, &z);
break;
@@ -1549,7 +1549,7 @@ static int message_append_cmdline(sd_bus_message *m, const char *signature, char
r = safe_atou64(v, &z);
if (r < 0)
- return log_error_errno(r, "Failed to parse '%s' as unsigned 64bit integer: %m", v);
+ return log_error_errno(r, "Failed to parse '%s' as unsigned 64-bit integer: %m", v);
r = sd_bus_message_append_basic(m, t, &z);
break;