Module Name:    src
Committed By:   pgoyette
Date:           Tue Feb  8 13:58:54 UTC 2011

Modified Files:
        src/sbin/dmctl: dmctl.c

Log Message:
Use PRIu64 to fix build on amd64 (and presumably other 64-bit ports)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/dmctl/dmctl.c

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

Modified files:

Index: src/sbin/dmctl/dmctl.c
diff -u src/sbin/dmctl/dmctl.c:1.1 src/sbin/dmctl/dmctl.c:1.2
--- src/sbin/dmctl/dmctl.c:1.1	Tue Feb  8 03:20:16 2011
+++ src/sbin/dmctl/dmctl.c	Tue Feb  8 13:58:54 2011
@@ -474,7 +474,7 @@
 	while ((params = parse_stdin(file_path)) != NULL) {
 		table = libdm_table_create();
 
-		sscanf(params, "%llu %llu %s %n", &start, &length, target, &len);
+		sscanf(params, "%"PRIu64" %"PRIu64" %s %n", &start, &length, target, &len);
 
 		libdm_table_set_start(start, table);
 		libdm_table_set_length(length, table);

Reply via email to