mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 18:53:33 +08:00
Fix two typos
This commit is contained in:
parent
1328bd9c3d
commit
953d28cc21
@ -48,8 +48,9 @@ bool hostname_is_set(void) {
|
||||
char* gethostname_malloc(void) {
|
||||
struct utsname u;
|
||||
|
||||
/* This call tries to return something useful, either the actual hostname or it makes something up. The only
|
||||
* reason it might mail is OOM. It might even return "localhost" if that's set. */
|
||||
/* This call tries to return something useful, either the actual hostname
|
||||
* or it makes something up. The only reason it might fail is OOM.
|
||||
* It might even return "localhost" if that's set. */
|
||||
|
||||
assert_se(uname(&u) >= 0);
|
||||
|
||||
|
@ -1763,7 +1763,7 @@ static int transfer_image_common(sd_bus *bus, sd_bus_message *m) {
|
||||
|
||||
r = sd_bus_call(bus, m, 0, &error, &reply);
|
||||
if (r < 0) {
|
||||
log_error("Failed transfer image: %s", bus_error_message(&error, -r));
|
||||
log_error("Failed to transfer image: %s", bus_error_message(&error, -r));
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user