]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/iptuntap.c
fix print_0xhex on 32 bit
[mirror_iproute2.git] / ip / iptuntap.c
index 528055a0bf46440ca3c3d7514ce715c37b18f70d..03238c3f6518bb6133c7824deb012db2960d503a 100644 (file)
@@ -254,7 +254,7 @@ static void print_flags(long flags)
        flags &= ~(IFF_TUN | IFF_TAP | IFF_NO_PI | IFF_ONE_QUEUE |
                   IFF_VNET_HDR | IFF_PERSIST | IFF_NOFILTER);
        if (flags)
-               print_0xhex(PRINT_ANY, NULL, "%#x", flags);
+               print_0xhex(PRINT_ANY, NULL, "%#llx", flags);
 
        close_json_array(PRINT_JSON, NULL);
 }