]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: improve spelling of two comments
authorBenno Schulenberg <bensberg@justemail.net>
Thu, 3 Oct 2013 10:41:00 +0000 (12:41 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 4 Oct 2013 09:56:15 +0000 (11:56 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
libfdisk/src/bsd.c

index a5bfdc34649002f214c94a7c8295b13ef404731c..19279ad9345a054d05cd0f30f668eb06351b4819 100644 (file)
@@ -749,12 +749,12 @@ static int bsd_write_disklabel(struct fdisk_context *cxt)
        d->d_checksum = 0;
        d->d_checksum = bsd_dkcksum(d);
 
-       /* Update label with in boot block. */
+       /* Update label within boot block. */
        memmove(&l->bsdbuffer[BSD_LABELSECTOR * DEFAULT_SECTOR_SIZE
                           + BSD_LABELOFFSET], d, sizeof(*d));
 
 #if defined (__alpha__) && BSD_LABELSECTOR == 0
-       /* write the check sum to the end of the first sector */
+       /* Write the checksum to the end of the first sector. */
        alpha_bootblock_checksum(l->bsdbuffer);
 #endif
        if (lseek(cxt->dev_fd, offset, SEEK_SET) == -1) {