[haiku-commits] Re: haiku: hrev49816 - in src/add-ons: kernel/file_systems/fat disk_systems/fat

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 12 Nov 2015 21:22:16 +0100

On 12/11/2015 21:14, François Revol wrote:

On 12/11/2015 15:22, Philippe Houdoin wrote:
+ if (write_pos(fd, 512, bootsector, sizeof(512)) < 0)


sizeof(512) is probably what you want here !


Oops, indeed, probably a copy-paste bug :D

Actually the offset is probably wrong as well for FAT anyway, I'll have
to look into it.

François.


Other related posts: