diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-09-01 13:43:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-09-02 13:57:29 -0400 |
commit | 2ecbf813d5e6361eb7c7520a6f5e6afa168df39a (patch) | |
tree | 43706ec8570737d72640087728e03759f3dc77ca | |
parent | cbaed698f37494b30b2449b51c728ae48630cb2b (diff) |
fix typo in arch/parisc/hpux/fs.c
A parisc allmodconfig build produces this:
arch/parisc/hpux/fs.c:107: error: 'buffer' undeclared (first use in this function)
Introduced by commit da574983de9f9283ba35662c8723627096e160de ("[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 <sfr@canb.auug.org.au>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/parisc/hpux/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c index 69ff671498e5..12c04c5e558b 100644 --- a/arch/parisc/hpux/fs.c +++ b/arch/parisc/hpux/fs.c | |||
@@ -104,7 +104,7 @@ static int filldir(void * __buf, const char * name, int namlen, loff_t offset, | |||
104 | buf->count -= reclen; | 104 | buf->count -= reclen; |
105 | return 0; | 105 | return 0; |
106 | Efault: | 106 | Efault: |
107 | buffer->error = -EFAULT; | 107 | buf->error = -EFAULT; |
108 | return -EFAULT; | 108 | return -EFAULT; |
109 | } | 109 | } |
110 | 110 | ||