diff options
Diffstat (limited to 'e2fsprogs/ext2fs/newdir.c')
-rw-r--r-- | e2fsprogs/ext2fs/newdir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/ext2fs/newdir.c b/e2fsprogs/ext2fs/newdir.c index 3904d9112..27c718ea5 100644 --- a/e2fsprogs/ext2fs/newdir.c +++ b/e2fsprogs/ext2fs/newdir.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * newdir.c --- create a new directory block | 2 | * newdir.c --- create a new directory block |
3 | * | 3 | * |
4 | * Copyright (C) 1994, 1995 Theodore Ts'o. | 4 | * Copyright (C) 1994, 1995 Theodore Ts'o. |
5 | * | 5 | * |
6 | * %Begin-Header% | 6 | * %Begin-Header% |
@@ -28,7 +28,7 @@ | |||
28 | errcode_t ext2fs_new_dir_block(ext2_filsys fs, ext2_ino_t dir_ino, | 28 | errcode_t ext2fs_new_dir_block(ext2_filsys fs, ext2_ino_t dir_ino, |
29 | ext2_ino_t parent_ino, char **block) | 29 | ext2_ino_t parent_ino, char **block) |
30 | { | 30 | { |
31 | struct ext2_dir_entry *dir = NULL; | 31 | struct ext2_dir_entry *dir = NULL; |
32 | errcode_t retval; | 32 | errcode_t retval; |
33 | char *buf; | 33 | char *buf; |
34 | int rec_len; | 34 | int rec_len; |
@@ -65,7 +65,7 @@ errcode_t ext2fs_new_dir_block(ext2_filsys fs, ext2_ino_t dir_ino, | |||
65 | dir->name_len = 2 | filetype; | 65 | dir->name_len = 2 | filetype; |
66 | dir->name[0] = '.'; | 66 | dir->name[0] = '.'; |
67 | dir->name[1] = '.'; | 67 | dir->name[1] = '.'; |
68 | 68 | ||
69 | } | 69 | } |
70 | *block = buf; | 70 | *block = buf; |
71 | return 0; | 71 | return 0; |