From dc8e89119a041ad2cd7c727391746ba9b4eee3db Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Thu, 24 Nov 2016 12:12:12 -0600 Subject: [PATCH] misc: remove some trailing whitespace newly introduced The commit (merge) referenced below added some useless trailing whitespace, and this patch will correct such. [ this also updates the NEWS file for the buglet fix ] Gosh, if folks cannot coax their editors into avoiding such crap they should remove the '.sample' suffix from their '.git/hooks/pre-commit.sample' file. Thereafter, git itself will reject changes with whitespace errors. Reference(s): commit cc1f49aebacbe0a9b3f12744fd596669ffdb45aa Signed-off-by: Jim Warner --- NEWS | 1 + proc/wchan.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 0ff69ccb..b99ff05c 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ procps-ng-NEXT * library: dont use SIGPWR on FreeBSD Debian #832148 * pmap: fix duplicate output line under '-x' option Redhat #1374061 * top: eliminated minor libnuma memory leak + * library: don't strip off wchan prefixes (ps & top) Redhat #1322111 procps-ng-3.3.12 ---------------- diff --git a/proc/wchan.c b/proc/wchan.c index bbd32b8b..873a7062 100644 --- a/proc/wchan.c +++ b/proc/wchan.c @@ -47,6 +47,6 @@ const char * lookup_wchan (int pid) { // lame ppc64 has a '.' in front of every name if (*ret=='.') ret++; while(*ret=='_') ret++; - + return ret; }