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