diff options
Diffstat (limited to 'e2fsprogs/ext2fs/ext_attr.c')
-rw-r--r-- | e2fsprogs/ext2fs/ext_attr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/ext2fs/ext_attr.c b/e2fsprogs/ext2fs/ext_attr.c index 08211c316..10b8bfd9d 100644 --- a/e2fsprogs/ext2fs/ext_attr.c +++ b/e2fsprogs/ext2fs/ext_attr.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * ext_attr.c --- extended attribute blocks | 2 | * ext_attr.c --- extended attribute blocks |
3 | * | 3 | * |
4 | * Copyright (C) 2001 Andreas Gruenbacher, <a.gruenbacher@computer.org> | 4 | * Copyright (C) 2001 Andreas Gruenbacher, <a.gruenbacher@computer.org> |
5 | * | 5 | * |
6 | * Copyright (C) 2002 Theodore Ts'o. | 6 | * Copyright (C) 2002 Theodore Ts'o. |
@@ -27,7 +27,7 @@ errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf) | |||
27 | { | 27 | { |
28 | errcode_t retval; | 28 | errcode_t retval; |
29 | 29 | ||
30 | retval = io_channel_read_blk(fs->io, block, 1, buf); | 30 | retval = io_channel_read_blk(fs->io, block, 1, buf); |
31 | if (retval) | 31 | if (retval) |
32 | return retval; | 32 | return retval; |
33 | #ifdef EXT2FS_ENABLE_SWAPFS | 33 | #ifdef EXT2FS_ENABLE_SWAPFS |
@@ -55,7 +55,7 @@ errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf) | |||
55 | } else | 55 | } else |
56 | #endif | 56 | #endif |
57 | write_buf = (char *) inbuf; | 57 | write_buf = (char *) inbuf; |
58 | retval = io_channel_write_blk(fs->io, block, 1, write_buf); | 58 | retval = io_channel_write_blk(fs->io, block, 1, write_buf); |
59 | if (buf) | 59 | if (buf) |
60 | ext2fs_free_mem(&buf); | 60 | ext2fs_free_mem(&buf); |
61 | if (!retval) | 61 | if (!retval) |