Changeset 247 for lm-sensors/trunk/kernel/i2c-proc.c
- Timestamp:
- 02/18/99 15:31:54 (14 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/kernel/i2c-proc.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/i2c-proc.c
r207 r247 395 395 proc_entry->nlink = 1; 396 396 proc_entry->ops = &i2cproc_inode_operations; 397 strcpy((char *) proc_entry->name,name); 397 398 /* Nasty stuff to keep GCC satisfied */ 399 { 400 char *procname; 401 (const char *) procname = proc_entry->name; 402 strcpy (procname,name); 403 } 398 404 399 405 if ((res = proc_register_dynamic(&proc_bus_dir, proc_entry))) {
