Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127164
b: refs/heads/master
c: dfe6b7d
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Eder authored and Alexey Dobriyan committed Jan 5, 2009
1 parent 00bb170 commit 0635550
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ec220e27f5040aec1e88901c1b6ea3d135787ad
refs/heads/master: dfe6b7d9406c631d697f8bbe1eae5569b808154f
4 changes: 2 additions & 2 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ static int proc_pid_auxv(struct task_struct *task, char *buffer)
struct mm_struct *mm = get_task_mm(task);
if (mm) {
unsigned int nwords = 0;
do
do {
nwords += 2;
while (mm->saved_auxv[nwords - 2] != 0); /* AT_NULL */
} while (mm->saved_auxv[nwords - 2] != 0); /* AT_NULL */
res = nwords * sizeof(mm->saved_auxv[0]);
if (res > PAGE_SIZE)
res = PAGE_SIZE;
Expand Down

0 comments on commit 0635550

Please sign in to comment.