commit: 98cf71419ec081e02677f314f26c6b3d5aaf7ad7
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 29 18:14:04 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Mar 29 18:14:04 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=98cf7141
qlop: break some long lines, no code changes
qlop.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/qlop.c b/qlop.c
index 33e8d37..babcc74 100644
--- a/qlop.c
+++ b/qlop.c
@@ -448,7 +448,9 @@ void show_current_emerge(void)
if (!eat_file(path, &cmdline, &cmdline_len))
continue;
- if (cmdline[0] == '[' && (p = strchr(cmdline, ']')) != NULL &&
strstr(cmdline, "sandbox") != NULL) {
+ if (cmdline[0] == '[' && (p = strchr(cmdline, ']')) != NULL &&
+ strstr(cmdline, "sandbox") != NULL)
+ {
*p = '\0';
p = cmdline + 1;
q = p + strlen(p) + 1;
@@ -511,7 +513,9 @@ void show_current_emerge(void)
char *p, *q;
time_t start_date = 0;
- if (! (kd = kvm_open("/dev/null", "/dev/null", "/dev/null", O_RDONLY,
"kvm_open"))) {
+ if (! (kd = kvm_open("/dev/null", "/dev/null", "/dev/null",
+ O_RDONLY, "kvm_open")))
+ {
warnp("Could not open kvm: %s", kvm_geterr(kd));
return;
}