diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-23 16:54:52 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-23 16:54:52 +0100 |
commit | 0ab0c01490bd1452c44ec501dfb68e8f6ac03eb1 (patch) | |
tree | 00f1c8fcaba271e6483b05cf9c6181d1d7a048d4 /src/basic/hostname-util.c | |
parent | a9ae0709416fe498de85744ce639ba6a9fc50105 (diff) | |
parent | 4c3160f1502e5ebad8cb73ae70cdeead2e534997 (diff) |
Merge pull request #2717 from keszybz/networkctl-prettification
Networkctl prettification
Diffstat (limited to 'src/basic/hostname-util.c')
-rw-r--r-- | src/basic/hostname-util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/basic/hostname-util.c b/src/basic/hostname-util.c index a30cc86456..3cd2f2c872 100644 --- a/src/basic/hostname-util.c +++ b/src/basic/hostname-util.c @@ -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); |