• zhifan huang's avatar
    test: fix nemu device name too long · 0f744753
    zhifan huang authored
    nemu use "%.4x%.3x" % (os.getpid(), n) to generate device name, but it
    define the min length not the max length, when pid is high, this will
    exceed 16 bytes IFNAMSIZ
    0f744753
fixnemu.py 3.1 KB