Skip to content

Commit

Permalink
fix typo in arch/parisc/hpux/fs.c
Browse files Browse the repository at this point in the history
A parisc allmodconfig build produces this:

arch/parisc/hpux/fs.c:107: error: 'buffer' undeclared (first use in this function)

Introduced by commit da57498 ("[PATCH]
fix hpux_getdents()").

Helge Dille also reported this in bugzilla 11461:

	http://bugzilla.kernel.org/show_bug.cgi?id=11461

and he posted an identical patch.

Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
sfrothwell authored and torvalds committed Sep 2, 2008
1 parent cbaed69 commit 2ecbf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/hpux/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static int filldir(void * __buf, const char * name, int namlen, loff_t offset,
buf->count -= reclen;
return 0;
Efault:
buffer->error = -EFAULT;
buf->error = -EFAULT;
return -EFAULT;
}

Expand Down

0 comments on commit 2ecbf81

Please sign in to comment.