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