[PATCH 4/4] include: add missing values to sysfs_cxt initializer definition

Sami Kerola
2013-01-09T19:37:12Z

include/sysfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sysfs.h b/include/sysfs.h
index 4f9c46b..739f9de 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -30,7 +30,7 @@ struct sysfs_cxt {
unsigned int has_hctl : 1;
};

-#define UL_SYSFSCXT_EMPTY { 0, -1, NULL, NULL }
+#define UL_SYSFSCXT_EMPTY { 0, -1, NULL, NULL, 0, 0, 0, 0, 0 }

extern char *sysfs_devno_attribute_path(dev_t devno, char *buf,
size_t bufsiz, const char *attr);
--
1.8.1