Skip to content

Commit

Permalink
zdtm.sh: set a type argument for mknod
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
  • Loading branch information
avagin authored and xemul committed Dec 10, 2015
1 parent 94d9145 commit b6d9bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/zdtm.sh
Expand Up @@ -548,10 +548,10 @@ construct_root()
mknod -m 0666 $root/dev/null c 1 3
if [ -r "/dev/net/tun" ]; then
mkdir $root/dev/net/
mknod -m 0666 $root/dev/net/tun $(stat -c "0x%t" /dev/net/tun) $(stat -c "0x%T" /dev/net/tun)
mknod -m 0666 $root/dev/net/tun c $(stat -c "0x%t" /dev/net/tun) $(stat -c "0x%T" /dev/net/tun)
fi
if [ -r "/dev/rtc" ]; then
mknod -m 0666 $root/dev/rtc $(stat -c "0x%t" /dev/rtc) $(stat -c "0x%T" /dev/rtc)
mknod -m 0666 $root/dev/rtc -c $(stat -c "0x%t" /dev/rtc) $(stat -c "0x%T" /dev/rtc)
fi

mkdir $root/proc
Expand Down

0 comments on commit b6d9bcd

Please sign in to comment.