summaryrefslogtreecommitdiffstats
path: root/fdisk/fdiskdoslabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'fdisk/fdiskdoslabel.c')
-rw-r--r--fdisk/fdiskdoslabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/fdiskdoslabel.c b/fdisk/fdiskdoslabel.c
index a1916fc57..34bcde6e7 100644
--- a/fdisk/fdiskdoslabel.c
+++ b/fdisk/fdiskdoslabel.c
@@ -224,7 +224,7 @@ void create_doslabel(void)
unsigned int id;
/* random disk signature */
- random_get_bytes(&id, sizeof(id), -1);
+ random_get_bytes(&id, sizeof(id));
fprintf(stderr, _("Building a new DOS disklabel with disk identifier 0x%08x.\n"), id);