summaryrefslogtreecommitdiff
path: root/sysutils/aimage/files/patch-src_aimage.cpp
blob: 9817fb2157ac8074086dc99bd4139d24672d972f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/aimage.cpp.orig	2010-12-17 13:49:50 UTC
+++ src/aimage.cpp
@@ -344,7 +344,7 @@ void segwrite_callback(struct affcallback_info *acbi)
 	/* log if necessary */
 	if(logfile){
 	    fprintf(logfile,
-		    "   pagenum=%"I64d" bytes_to_write=%d bytes_written=%d lap_time=%f\n",
+		    "   pagenum=%" I64d" bytes_to_write=%d bytes_written=%d lap_time=%f\n",
 		    acbi->pagenum,
 		    acbi->bytes_to_write,
 		    acbi->bytes_written,
@@ -621,7 +621,7 @@ int64 scaled_atoi(const char *arg)
     int64 ret=0;
     int multiplier=1;
     char ch,junk;
-    switch(sscanf(arg,"%"I64d"%c%c",&ret,&ch,&junk)){
+    switch(sscanf(arg,"%" I64d"%c%c",&ret,&ch,&junk)){
     case 1:
 	return ret;			// no multiplier
     case 2: