Blame SOURCES/libcap-ng-0.7.4-badfd.patch
|
|
51abac |
diff -urp libcap-ng-0.7.3/utils/pscap.c libcap-ng-0.7.4/utils/pscap.c
|
|
|
51abac |
--- libcap-ng-0.7.3/utils/pscap.c 2012-11-09 14:45:43.000000000 -0500
|
|
|
51abac |
+++ libcap-ng-0.7.4/utils/pscap.c 2012-11-30 10:06:42.000000000 -0500
|
|
|
51abac |
@@ -142,8 +142,6 @@ int main(int argc, char *argv[])
|
|
|
51abac |
fclose(f);
|
|
|
51abac |
}
|
|
|
51abac |
|
|
|
51abac |
- len = read(fd, buf, sizeof buf - 1);
|
|
|
51abac |
- close(fd);
|
|
|
51abac |
if (header == 0) {
|
|
|
51abac |
printf("%-5s %-5s %-10s %-16s %s\n",
|
|
|
51abac |
"ppid", "pid", "name", "command",
|