diff --git a/[refs] b/[refs] index a603f5bbc53b..33b824a32bda 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e2bf521d9728bfae9b6c3d484614e5962d0b5afd +refs/heads/master: ee71a29eb5e341fe977c5ad7a43782c29bd9cb9e diff --git a/trunk/net/sctp/objcnt.c b/trunk/net/sctp/objcnt.c index 0781e5d509fd..8ff588f0d76a 100644 --- a/trunk/net/sctp/objcnt.c +++ b/trunk/net/sctp/objcnt.c @@ -127,8 +127,12 @@ static int sctp_dbg_objcnt_read(char *buffer, char **start, off_t offset, /* Initialize the objcount in the proc filesystem. */ void sctp_dbg_objcnt_init(void) { - create_proc_read_entry("sctp_dbg_objcnt", 0, proc_net_sctp, + struct proc_dir_entry *ent; + ent = create_proc_read_entry("sctp_dbg_objcnt", 0, proc_net_sctp, sctp_dbg_objcnt_read, NULL); + if (!ent) + printk(KERN_WARNING + "sctp_dbg_objcnt: Unable to create /proc entry.\n"); } /* Cleanup the objcount entry in the proc filesystem. */