diff options
Diffstat (limited to 'fs/proc/kmsg.c')
-rw-r--r-- | fs/proc/kmsg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c index ff8ec4877..71c5316a9 100644 --- a/fs/proc/kmsg.c +++ b/fs/proc/kmsg.c @@ -17,23 +17,23 @@ extern unsigned long log_size; extern struct wait_queue * log_wait; -asmlinkage int sys_syslog(int type, char * bug, int count); +extern int do_syslog(int type, char * bug, int count); static int kmsg_open(struct inode * inode, struct file * file) { - return sys_syslog(1,NULL,0); + return do_syslog(1,NULL,0); } static int kmsg_release(struct inode * inode, struct file * file) { - (void) sys_syslog(0,NULL,0); + (void) do_syslog(0,NULL,0); return 0; } static ssize_t kmsg_read(struct file * file, char * buf, size_t count, loff_t *ppos) { - return sys_syslog(2,buf,count); + return do_syslog(2,buf,count); } static unsigned int kmsg_poll(struct file *file, poll_table * wait) |