summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2018-01-04 17:44:20 +0000
committerderaadt <deraadt@openbsd.org>2018-01-04 17:44:20 +0000
commit5af343a9f1542d45eb0dd954303e6e825acb18fd (patch)
treedef71d838d2e17a39a96c83e2d2430cc23474b9d
parentAddress TOCTOU issue with checking to ensure disks are regular files. (diff)
downloadwireguard-openbsd-5af343a9f1542d45eb0dd954303e6e825acb18fd.tar.xz
wireguard-openbsd-5af343a9f1542d45eb0dd954303e6e825acb18fd.zip
glaring KNF violation
-rw-r--r--usr.bin/top/display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index 2b2e678b63f..c9bd7064a75 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.53 2017/12/18 05:51:53 cheloha Exp $ */
+/* $OpenBSD: display.c,v 1.54 2018/01/04 17:44:20 deraadt Exp $ */
/*
* Top users/processes display for Unix
@@ -205,6 +205,7 @@ display_init(struct statics * statics)
/* return number of lines available */
return (display_lines);
}
+
static void
format_uptime(char *buf, size_t buflen)
{