[git commit] tweak comment, no code changes

Denys Vlasenko vda.linux at googlemail.com
Thu Feb 2 10:29:43 UTC 2012


commit: http://git.busybox.net/busybox/commit/?id=9ec3cd400ad9930a8cd3de371271202de49adea9
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 libbb/procps.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libbb/procps.c b/libbb/procps.c
index e15ddd1..0e3f2f9 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -198,7 +198,7 @@ int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total,
 	memset(&currec, 0, sizeof(currec));
 	while (fgets(buf, PROCPS_BUFSIZE, file)) {
 		// Each mapping datum has this form:
-		// f7d29000-f7d39000 rw-s ADR M:m OFS FILE
+		// f7d29000-f7d39000 rw-s FILEOFS M:m INODE FILENAME
 		// Size:                nnn kB
 		// Rss:                 nnn kB
 		// .....
@@ -223,7 +223,7 @@ int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total,
 		tp = strchr(buf, '-');
 		if (tp) {
 			// We reached next mapping - the line of this form:
-			// f7d29000-f7d39000 rw-s ADR M:m OFS FILE
+			// f7d29000-f7d39000 rw-s FILEOFS M:m INODE FILENAME
 
 			if (cb) {
 				/* If we have a previous record, there's nothing more
@@ -242,7 +242,7 @@ int FAST_FUNC procps_read_smaps(pid_t pid, struct smaprec *total,
 
 			strncpy(currec.smap_mode, tp, sizeof(currec.smap_mode)-1);
 
-			// skipping "rw-s ADR M:m OFS "
+			// skipping "rw-s FILEOFS M:m INODE "
 			tp = skip_whitespace(skip_fields(tp, 4));
 			// filter out /dev/something (something != zero)
 			if (strncmp(tp, "/dev/", 5) != 0 || strcmp(tp, "/dev/zero\n") == 0) {


More information about the busybox-cvs mailing list