summaryrefslogtreecommitdiff
path: root/e2fsck/message.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2003-08-01 09:41:07 -0400
committerTheodore Ts'o <tytso@mit.edu>2003-08-01 09:41:07 -0400
commitc4e3d3f374b409500e3dd05c0b0eca6ac98a6b4e (patch)
tree2d1db6d042abcaf015834480ea1ca8c26c456f5d /e2fsck/message.c
parent0ec1b153ba6291aac5faa00c197a71d1cb0165f5 (diff)
downloade2fsprogs-c4e3d3f374b409500e3dd05c0b0eca6ac98a6b4e.tar.gz
ext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem()
all now take a 'void *' instead of a 'void **' in order to avoid pointer aliasing problems with GCC 3.x.
Diffstat (limited to 'e2fsck/message.c')
-rw-r--r--e2fsck/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsck/message.c b/e2fsck/message.c
index 059e2949..6c19f575 100644
--- a/e2fsck/message.c
+++ b/e2fsck/message.c
@@ -197,7 +197,7 @@ static void print_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino)
fputs("???", stdout);
else {
safe_print(path, -1);
- ext2fs_free_mem((void **) &path);
+ ext2fs_free_mem(&path);
}
}