module_fname[0] = 0; 
pg_proc_dir = proc_mkdir(PG_PROC_DIR, proc_net); if (!pg_proc_dir) return -ENODEV; pg_proc_dir->owner = THIS_MODULE; 
static int __init pg_init(void) {	int cpu;	printk(version);        module_fname[0] = 0;	create_proc_dir();        sprintf(module_fname, "%s/pgctrl", PG_PROC_DIR);        module_proc_ent = create_proc_entry(module_fname, 0600, NULL);        if (!module_proc_ent) {                printk("pktgen: ERROR: cannot create %s procfs entry.\n", module_fname);                return -EINVAL;        }        module_proc_ent->proc_fops =  &pktgen_fops;        module_proc_ent->data = NULL;	/* Register us to receive netdevice events */	register_netdevice_notifier(&pktgen_notifier_block);        	for_each_online_cpu(cpu) {		char buf[30];                sprintf(buf, "kpktgend_%i", cpu);                pktgen_create_thread(buf, cpu);        }        return 0;        }
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d50a6b56f0f239cf061630c85add121dc3555339/pktgen.c/buggy/net/core/pktgen.c