diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/sg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 4d09a6e4dd2e..ad94367df430 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -2849,8 +2849,7 @@ sg_proc_init(void) | |||
2849 | struct proc_dir_entry *pdep; | 2849 | struct proc_dir_entry *pdep; |
2850 | struct sg_proc_leaf * leaf; | 2850 | struct sg_proc_leaf * leaf; |
2851 | 2851 | ||
2852 | sg_proc_sgp = create_proc_entry(sg_proc_sg_dirname, | 2852 | sg_proc_sgp = proc_mkdir(sg_proc_sg_dirname, NULL); |
2853 | S_IFDIR | S_IRUGO | S_IXUGO, NULL); | ||
2854 | if (!sg_proc_sgp) | 2853 | if (!sg_proc_sgp) |
2855 | return 1; | 2854 | return 1; |
2856 | for (k = 0; k < num_leaves; ++k) { | 2855 | for (k = 0; k < num_leaves; ++k) { |