Various cleanups I made while going through Erik Hovland's patch submissions,

some of which are even from him. :)
This commit is contained in:
Rob Landley 2006-06-25 22:39:24 +00:00
parent f087798e8b
commit 11c7a7bed6
5 changed files with 31 additions and 111 deletions

View file

@ -1974,7 +1974,7 @@ create_sgiinfo(void)
/* I keep SGI's habit to write the sgilabel to the second block */
sgilabel->directory[0].vol_file_start = SGI_SSWAP32(2);
sgilabel->directory[0].vol_file_size = SGI_SSWAP32(sizeof(sgiinfo));
strncpy((char*)sgilabel->directory[0].vol_file_name, "sgilabel", 8);
strcpy((char*)sgilabel->directory[0].vol_file_name, "sgilabel");
}
static sgiinfo *fill_sgiinfo(void);