diff options
author | Jim Meyering <meyering@fb.com> | 2014-05-25 21:16:44 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2014-05-28 08:43:04 -0700 |
commit | 591c7f6f39fff9126d7aa05c24e95961a91fd27f (patch) | |
tree | 375fd17c3e5964639a674c41ae9ec3a04cc927a0 /libparted/fs/xfs/xfs.c | |
parent | 2b59e3264fc517c432b926968eba8b85d5df788d (diff) | |
download | parted-591c7f6f39fff9126d7aa05c24e95961a91fd27f.tar.gz |
maint: fix "make syntax-check" nits
* doc/parted.texi: Update copyright year to 2014.
* tests/gpt-header-move.py: Remove empty line at EOF.
* tests/t0281-gpt-grow.sh: Correct reversed args to compare.
* tests/t0282-gpt-move-backup.sh: Likewise.
* libparted/labels/gpt.c (gpt_partition_set_name): Change "Can not"
to "failed to" in diagnostic.
(gpt_partition_get_name): Likewise.
* tests/t1102-loop-label.sh (dev): Remove trailing space in
here document that creates expected output, and strip that
same trailing space from actual output.
* libparted/fs/jfs/jfs.c: Do not cast alloca return value.
* libparted/fs/reiserfs/reiserfs.c: Likewise.
* libparted/fs/xfs/xfs.c: Likewise.
Diffstat (limited to 'libparted/fs/xfs/xfs.c')
-rw-r--r-- | libparted/fs/xfs/xfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libparted/fs/xfs/xfs.c b/libparted/fs/xfs/xfs.c index 3fc97db..e4314a8 100644 --- a/libparted/fs/xfs/xfs.c +++ b/libparted/fs/xfs/xfs.c @@ -38,7 +38,7 @@ xfs_probe (PedGeometry* geom) { PedSector block_size; PedSector block_count; - struct xfs_sb *sb = (struct xfs_sb *)alloca (geom->dev->sector_size); + struct xfs_sb *sb = alloca (geom->dev->sector_size); if (geom->length < XFS_SB_DADDR + 1) return NULL; |