summaryrefslogtreecommitdiffstats
path: root/include/sysfs.h
diff options
context:
space:
mode:
authorKarel Zak2012-03-06 11:24:54 +0100
committerKarel Zak2012-03-06 11:24:54 +0100
commit4c5bbc5d7e34b16591a1dec1347492e5d10bb1ab (patch)
tree7a256faba0796d220ddd678ef8494e8824613485 /include/sysfs.h
parentlogin: fix LOGIN_CHOWN_VCS code (diff)
downloadkernel-qcow2-util-linux-4c5bbc5d7e34b16591a1dec1347492e5d10bb1ab.tar.gz
kernel-qcow2-util-linux-4c5bbc5d7e34b16591a1dec1347492e5d10bb1ab.tar.xz
kernel-qcow2-util-linux-4c5bbc5d7e34b16591a1dec1347492e5d10bb1ab.zip
libblkid: fix sysfs context usage
Reported-by: Elan Ruusamäe <glen@delfi.ee> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/sysfs.h')
-rw-r--r--include/sysfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysfs.h b/include/sysfs.h
index c1e63527b..affd2bb76 100644
--- a/include/sysfs.h
+++ b/include/sysfs.h
@@ -23,6 +23,7 @@ struct sysfs_cxt {
struct sysfs_cxt *parent;
};
+#define UL_SYSFSCXT_EMPTY { 0, -1, NULL, NULL }
extern char *sysfs_devno_attribute_path(dev_t devno, char *buf,
size_t bufsiz, const char *attr);