Module Name:    src
Committed By:   haad
Date:           Mon Apr  6 22:48:26 UTC 2009

Modified Files:
        src/sys/dev/dm: dm_target_stripe.c

Log Message:
Fix build on amd64. Patch sent by dieter roelants.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/dm/dm_target_stripe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/dm/dm_target_stripe.c
diff -u src/sys/dev/dm/dm_target_stripe.c:1.4 src/sys/dev/dm/dm_target_stripe.c:1.5
--- src/sys/dev/dm/dm_target_stripe.c:1.4	Sat Mar  7 22:17:18 2009
+++ src/sys/dev/dm/dm_target_stripe.c	Mon Apr  6 22:48:26 2009
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_stripe.c,v 1.4 2009/03/07 22:17:18 reinoud Exp $*/
+/*$NetBSD: dm_target_stripe.c,v 1.5 2009/04/06 22:48:26 haad Exp $*/
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -177,7 +177,8 @@
 	if ((params = kmem_alloc(tsc->params_len, KM_NOSLEEP)) == NULL)
 		return NULL;
 
-	snprintf(params, tsc->params_len, "%d %lld %s %lld %s %lld", tsc->stripe_num, tsc->stripe_chunksize,
+	snprintf(params, tsc->params_len, "%d %"PRIu64" %s %"PRIu64" %s %"PRIu64,
+	    tsc->stripe_num, tsc->stripe_chunksize,
 	    tsc->stripe_devs[0].pdev->name, tsc->stripe_devs[0].offset,
 	    tsc->stripe_devs[1].pdev->name, tsc->stripe_devs[1].offset);
 	

Reply via email to