diff options
Diffstat (limited to 'drivers/media/video/cpia.c')
-rw-r--r-- | drivers/media/video/cpia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cpia.c b/drivers/media/video/cpia.c index b14c59c281eb..c325e926de8a 100644 --- a/drivers/media/video/cpia.c +++ b/drivers/media/video/cpia.c | |||
@@ -3202,7 +3202,7 @@ static int cpia_open(struct inode *inode, struct file *file) | |||
3202 | 3202 | ||
3203 | /* Set ownership of /proc/cpia/videoX to current user */ | 3203 | /* Set ownership of /proc/cpia/videoX to current user */ |
3204 | if(cam->proc_entry) | 3204 | if(cam->proc_entry) |
3205 | cam->proc_entry->uid = current->uid; | 3205 | cam->proc_entry->uid = current_uid(); |
3206 | 3206 | ||
3207 | /* set mark for loading first frame uncompressed */ | 3207 | /* set mark for loading first frame uncompressed */ |
3208 | cam->first_frame = 1; | 3208 | cam->first_frame = 1; |