Hi dear FASM Members 

 ,
i have trouble using printf.
I want to pass an %s arg to printf.
But i get only my %s printed not the entire string.
Thanks in advance  
 
    
; -----------------------------------------------------------------------------
;Simple CPUID Programm. Based on agner.orgs asmlib
; -----------------------------------------------------------------------------
        global  main
        extern  printf
        default rel
                section .text
main:
                mov                     rdi, title
                xor                     rax, rax
                call            printf
;               call            cpuid                           ;
                mov                     rdi, bfer
                mov                     rsi, name
                xor                     rax, rax
                call            printf
                ret
cpuid:
        push            rbx
        mov             eax, esi
        mov             ecx, edx
        cpuid                          ; input eax, ecx. output eax, ebx, ecx, edx
        mov             [bfer],    eax
        mov             [bfer+4],  ebx
        mov             [bfer+8],  ecx
        mov             [bfer+12], edx
        pop             rbx        
        ret
                section .data
name:   db              "Vendor %s", 10, 0
title:  db              "CPUID v1.0 by capo245", 10, 0
bfer:   dd              "test", 10, 0
len:    equ     $-bfer