summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordavej <davej>2001-12-22 00:36:26 +0000
committerdavej <davej>2001-12-22 00:36:26 +0000
commite99c8340c12592053be280a38ff88273bea8027c (patch)
tree2ff26de46b6283416b0cf054afa5f43ffb09d448 /scripts
parentc054b10907419b05c0ab9b7c7c6c3f8591eed9a2 (diff)
2001-12-22 Mendel L Chan <linuxrat@gnuchina.org>
* scripts/Makenodes: Add cd /dev/cpu before making nodes. * identify.c: Missed argument off call to display_NatSemi_info()
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makenodes4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makenodes b/scripts/makenodes
index f25f21e..19565a7 100755
--- a/scripts/makenodes
+++ b/scripts/makenodes
@@ -9,10 +9,10 @@ do
mkdir /dev/cpu/$i
fi
if [ ! -f /dev/cpu/$i/cpuid ] ; then
- mknod cpuid c 203 $i
+ (cd /dev/cpu/$i ; mknod cpuid c 203 $i)
fi
if [ ! -f /dev/cpu/$i/msr ] ; then
- mknod msr c 202 $i
+ (cd /dev/cpu/$i ; mknod msr c 202 $i)
fi
done