diff options
author | bde <bde@FreeBSD.org> | 1998-07-29 16:43:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-29 16:43:00 +0000 |
commit | 690e655ec2e48e3998b33a9edfaa8ba85ccce301 (patch) | |
tree | 0382f8bb92bd05d4a8a39e4964338e8258c11e8c /sys/i386/linux/imgact_linux.c | |
parent | 8498bf476458c5cbc1105a1c09b74a08eb911af3 (diff) | |
download | FreeBSD-src-690e655ec2e48e3998b33a9edfaa8ba85ccce301.zip FreeBSD-src-690e655ec2e48e3998b33a9edfaa8ba85ccce301.tar.gz |
Fixed print format errors.
Diffstat (limited to 'sys/i386/linux/imgact_linux.c')
-rw-r--r-- | sys/i386/linux/imgact_linux.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index eb28e4f..5f85902 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -28,7 +28,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_linux.c,v 1.26 1998/02/09 06:09:16 eivind Exp $ + * $Id: imgact_linux.c,v 1.27 1998/02/11 01:46:49 eivind Exp $ */ #include <sys/param.h> @@ -87,7 +87,8 @@ exec_linux_imgact(imgp) } bss_size = round_page(a_out->a_bss); #ifdef DEBUG - printf("imgact: text: %08x, data: %08x, bss: %08x\n", a_out->a_text, a_out->a_data, bss_size); + printf("imgact: text: %08lx, data: %08lx, bss: %08lx\n", + (u_long)a_out->a_text, (u_long)a_out->a_data, bss_size); #endif /* @@ -126,7 +127,7 @@ exec_linux_imgact(imgp) */ if (file_offset & PAGE_MASK) { #ifdef DEBUG - printf("imgact: Non page aligned binary %d\n", file_offset); + printf("imgact: Non page aligned binary %lu\n", file_offset); #endif /* * Map text+data+bss read/write/execute @@ -167,7 +168,7 @@ exec_linux_imgact(imgp) } else { #ifdef DEBUG - printf("imgact: Page aligned binary %d\n", file_offset); + printf("imgact: Page aligned binary %lu\n", file_offset); #endif /* * Map text+data read/execute @@ -183,7 +184,8 @@ exec_linux_imgact(imgp) return (error); #ifdef DEBUG - printf("imgact: startaddr=%08x, length=%08x\n", vmaddr, a_out->a_text + a_out->a_data); + printf("imgact: startaddr=%08lx, length=%08lx\n", + (u_long)vmaddr, a_out->a_text + a_out->a_data); #endif /* * allow read/write of data @@ -206,7 +208,8 @@ exec_linux_imgact(imgp) if (error) return (error); #ifdef DEBUG - printf("imgact: bssaddr=%08x, length=%08x\n", vmaddr, bss_size); + printf("imgact: bssaddr=%08lx, length=%08lx\n", + (u_long)vmaddr, bss_size); #endif } |