Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dmctl Use PRIu64 to fix build on amd64 (and presumably ...
details: https://anonhg.NetBSD.org/src/rev/7126c0ea2cfa
branches: trunk
changeset: 761825:7126c0ea2cfa
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Feb 08 13:58:54 2011 +0000
description:
Use PRIu64 to fix build on amd64 (and presumably other 64-bit ports)
diffstat:
sbin/dmctl/dmctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0932b2427cb5 -r 7126c0ea2cfa sbin/dmctl/dmctl.c
--- a/sbin/dmctl/dmctl.c Tue Feb 08 13:40:35 2011 +0000
+++ b/sbin/dmctl/dmctl.c Tue Feb 08 13:58:54 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index