ifpps: Reorder buffer allocation and file opening in stats_proc_interrupts
commit35400b74a777675ba9f5ffd85b68feb705cd934b
authorTobias Klauser <tklauser@distanz.ch>
Wed, 26 Feb 2014 13:14:33 +0000 (26 14:14 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Wed, 26 Feb 2014 13:14:33 +0000 (26 14:14 +0100)
tree1c763de1e8f3f251dba89e898f6dd6a1591a7f3e
parentc979433abb11a67d82c0b345ef28b38907ba6d9e
ifpps: Reorder buffer allocation and file opening in stats_proc_interrupts

We don't need the file open to allocate the buffer so open it just
before it's used for the first time.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
ifpps.c