diff options
author | Peter Jones <pjones@redhat.com> | 2006-07-31 20:29:53 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-07-31 20:29:53 +0000 |
commit | 5c2f51738f4b1191595f9cd35ab7e1194c3b9535 (patch) | |
tree | 5416d83a322523e293ffcd0b5d593be6a0afa086 /command-stubs | |
parent | c94645c4043acdab7527e8afd9d1d1fff4b21a8e (diff) | |
download | anaconda-5c2f51738f4b1191595f9cd35ab7e1194c3b9535.tar.gz anaconda-5c2f51738f4b1191595f9cd35ab7e1194c3b9535.tar.xz anaconda-5c2f51738f4b1191595f9cd35ab7e1194c3b9535.zip |
- fix mknod
Diffstat (limited to 'command-stubs')
-rwxr-xr-x | command-stubs/mknod-stub | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/command-stubs/mknod-stub b/command-stubs/mknod-stub index f4239c75d..f15c618bf 100755 --- a/command-stubs/mknod-stub +++ b/command-stubs/mknod-stub @@ -5,6 +5,7 @@ sys.path.append('/usr/lib/anaconda') import isys import string import stat +import os def usage(): sys.stderr.write("Usage: %s <path> [b|c] <major> <minor> or\n" %(sys.argv[0],)) @@ -47,7 +48,7 @@ def main(): minor = int(sys.argv[4]) path = sys.argv[1] - isys.mknod(path, 0644 | type, isys.makedev(major, minor)) + isys.mknod(path, 0644 | type, os.makedev(major, minor)) if __name__ == "__main__": main() |