fsck.cramfs: fix macro usage
Autotoolz does not define HAVE_LCHOWN when the condition is false, so it is appropriate to use #ifdef/#ifndef as everywhere else. Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
ac660b80fd
commit
d52786aab7
|
@ -368,7 +368,7 @@ static int uncompress_block(void *src, size_t len)
|
|||
return stream.total_out;
|
||||
}
|
||||
|
||||
#if !HAVE_LCHOWN
|
||||
#ifndef HAVE_LCHOWN
|
||||
#define lchown chown
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue