From 11c7a7bed60a55a670363bec3c07e8d88aa372b7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 25 Jun 2006 22:39:24 +0000 Subject: Various cleanups I made while going through Erik Hovland's patch submissions, some of which are even from him. :) --- util-linux/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index cd82526..0f268af 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -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); -- cgit v1.1