diff U3 syslinux-6.03/extlinux/main.c syslinux-6.03_typo/extlinux/main.c
--- syslinux-6.03/extlinux/main.c Mon Oct 06 16:27:44 2014
+++ syslinux-6.03_typo/extlinux/main.c Fri Nov 13 02:29:56 2015
@@ -14,7 +14,7 @@
/*
* extlinux.c
*
- * Install the syslinux boot block on an fat, ntfs, ext2/3/4, btrfs, xfs,
+ * Install the syslinux boot block on a fat, ntfs, ext2/3/4, btrfs, xfs,
* and ufs1/2 filesystem.
*/
@@ -392,11 +392,11 @@
if (sb5.sb_magicnum == *(u32 *)XFS_SB_MAGIC) {
if (be32_to_cpu(sb5.sb_blocksize) != XFS_SUPPORTED_BLOCKSIZE) {
fprintf(stderr,
- "You need to have 4 KiB filesystem block size for "
- " being able to install Syslinux in your XFS "
- "partition (because there is no enough space in MBR to "
- "determine where Syslinux bootsector can be installed "
- "regardless the filesystem block size)\n");
+ "You need to have 4 KiB filesystem block size for"
+ " being able to install Syslinux in your XFS"
+ " partition (because there is not enough space in MBR to"
+ " determine where Syslinux bootsector can be installed"
+ " regardless of the filesystem block size)\n");
return 1;
}
@@ -419,8 +419,8 @@
if (!ok) {
fprintf(stderr,
- "no fat, ntfs, ext2/3/4, btrfs, xfs "
- "or ufs1/2 superblock found on %s\n",
+ "no fat, ntfs, ext2/3/4, btrfs, xfs"
+ " or ufs1/2 superblock found on %s\n",
device);
return 1;
}
@@ -597,9 +597,9 @@
return 1;
}
-/* btrfs has to install the ldlinux.sys in the first 64K blank area, which
- is not managered by btrfs tree, so actually this is not installed as files.
- since the cow feature of btrfs will move the ldlinux.sys every where */
+/* btrfs has to install ldlinux.sys in the first 64K blank area, which
+ is not managed by btrfs tree, so actually this is not installed as a file,
+ since the cow feature of btrfs would move the ldlinux.sys file everywhere.
*/
int btrfs_install_file(const char *path, int devfd, struct stat *rst)
{
char *file;
@@ -661,7 +661,7 @@
* Due to historical reasons (SGI IRIX's design of disk layouts), the first
* sector in the primary AG on XFS filesystems contains the superblock, which
is
* a problem with bootloaders that rely on BIOSes (that load VBRs which are
- * (located in the first sector of the partition).
+ * located in the first sector of the partition).
*
* Thus, we need to handle this issue, otherwise Syslinux will damage the
XFS's
* superblock.
@@ -750,7 +750,7 @@
* * test if path is a subvolume:
* * this function return
* * 0-> path exists but it is not a subvolume
- * * 1-> path exists and it is a subvolume
+ * * 1-> path exists and it is a subvolume
* * -1 -> path is unaccessible
* */
static int test_issubvolume(char *path)
@@ -1373,8 +1373,8 @@
if (!fs_type) {
fprintf(stderr,
- "%s: not a fat, ntfs, ext2/3/4, btrfs, xfs or"
- "ufs1/2 filesystem: %s\n",
+ "%s: not a fat, ntfs, ext2/3/4, btrfs, xfs"
+ " or ufs1/2 filesystem: %s\n",
program, path);
return -1;
}
--