[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [sparc64] sigbus in e2fsck



    
    typedef struct journal_revoke_header_s
    {
    	journal_header_t r_header;
    	int		 r_count;	/* Count of bytes used in the block */
    } journal_revoke_header_t;
    
    The "int" above should be a __u32.  What is the size of int on
    sparc64?  Is it by any chance 8 bytes?  If that's the problem then I'm
    kind of surprised we haven't run into massive problems earlier, as
    this looks like a long standing bug.

sizeof(int) == 4 in both sparc64-linux-gnu and sparcv9-linux-gnu (32bit)
targets.


Reply to: