diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-23 11:54:10 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:31:31 +0200 |
commit | e7563c6a79a163b727027c676e96b99b7ae2624e (patch) | |
tree | 130563ba23e4843abd6ac946bf7566b0e0da570c /procfs_dir.c | |
parent | 2f30d52e2753c4fc854753ee2d0efb895a317c9f (diff) |
Improve the interface for dircat_make_node
* dircat.c, dircat.h (dircat_make_node): Use an explicit
array size for DIRS, fail with ENOMEM is any of them is NULL, and
release the reference on the non-NULL nodes on any error.
* main.c (root_make_node): Use the new interface.
Diffstat (limited to 'procfs_dir.c')
0 files changed, 0 insertions, 0 deletions