diff options
author | 2018-01-04 17:44:20 +0000 | |
---|---|---|
committer | 2018-01-04 17:44:20 +0000 | |
commit | 5af343a9f1542d45eb0dd954303e6e825acb18fd (patch) | |
tree | def71d838d2e17a39a96c83e2d2430cc23474b9d | |
parent | Address TOCTOU issue with checking to ensure disks are regular files. (diff) | |
download | wireguard-openbsd-5af343a9f1542d45eb0dd954303e6e825acb18fd.tar.xz wireguard-openbsd-5af343a9f1542d45eb0dd954303e6e825acb18fd.zip |
glaring KNF violation
-rw-r--r-- | usr.bin/top/display.c | 3 |
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) { |