[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Typo in libparted
From: |
Harley D. Eades III |
Subject: |
Typo in libparted |
Date: |
13 Dec 2004 15:18:27 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Hello,
There is a typo in libparted/disk_dos.c:172.
if ((!strncmp (part_table.boot_code + 0x36, "FAT", 3)
--> && strcmp (part_table.boot_code + 0x36, "FATSBML", 7) != 0)
|| !strncmp (part_table.boot_code + 0x52, "FAT", 3))
return 0;
Should be:
if ((!strncmp (part_table.boot_code + 0x36, "FAT", 3)
&& strncmp (part_table.boot_code + 0x36, "FATSBML", 7) != 0)
|| !strncmp (part_table.boot_code + 0x52, "FAT", 3))
return 0;
Ok for me to go ahead and commit the added 'n'. :)
Thanks
hde
- Typo in libparted,
Harley D. Eades III <=