From a6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 15:52:39 +0200 Subject: format files --- src/hostname.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/hostname.c') diff --git a/src/hostname.c b/src/hostname.c index 6a55309..2794102 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -1,4 +1,5 @@ #include + #include "buffer.h" #include "exit.h" @@ -7,10 +8,10 @@ char host[256]; int main() { host[0] = 0; /* sigh */ - gethostname(host,sizeof(host)); + gethostname(host, sizeof(host)); host[sizeof(host) - 1] = 0; - buffer_puts(buffer_1small,host); - buffer_puts(buffer_1small,"\n"); + buffer_puts(buffer_1small, host); + buffer_puts(buffer_1small, "\n"); buffer_flush(buffer_1small); _exit(0); } -- cgit v1.2.3