Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-06-26 02:39:24 +0400
committerRob Landley <rob@landley.net>2006-06-26 02:39:24 +0400
commit11c7a7bed60a55a670363bec3c07e8d88aa372b7 (patch)
tree809c167b4c007b334afcb34b4689841a029022ac /util-linux/fdisk.c
parentf087798e8bf5857b679c369601426ca29334caee (diff)
Various cleanups I made while going through Erik Hovland's patch submissions,
some of which are even from him. :)
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r--util-linux/fdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index cd8252649..0f268afed 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);