HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/sysutils/aimage/files/patch-src_aimage.cpp
--- 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: