• zhifan huang's avatar
    test: fix nemu device name too long · 0b811fd5
    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
    0b811fd5
fixnemu.py 3.1 KB