mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -23,7 +23,7 @@ ErrorOr<FlatPtr> Process::sys$uname(Userspace<utsname*> user_buf)
|
|||
memcpy(buf.machine, "x86_64", 7);
|
||||
#endif
|
||||
|
||||
hostname().with_shared([&](const auto& name) {
|
||||
hostname().with_shared([&](auto const& name) {
|
||||
auto length = min(name->length(), UTSNAME_ENTRY_LEN - 1);
|
||||
memcpy(buf.nodename, name->characters(), length);
|
||||
buf.nodename[length] = '\0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue