diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-27 00:09:05 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:54:59 -0700 |
commit | 93ca11e4be8f4414f09ba60d9d8c77ec8ff2ec3b (patch) | |
tree | 169e52b65c926dc290ac6173df3a91b50541549e /libsysfs/sysfs | |
parent | 69b5c2ca514122eaf08bdc9aadc1b365697d73ef (diff) |
[PATCH] libsysfs: remove trailing slash on SYSFS_PATH override
Diffstat (limited to 'libsysfs/sysfs')
-rw-r--r-- | libsysfs/sysfs/libsysfs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsysfs/sysfs/libsysfs.h b/libsysfs/sysfs/libsysfs.h index 6140c3aecb..2f122405d7 100644 --- a/libsysfs/sysfs/libsysfs.h +++ b/libsysfs/sysfs/libsysfs.h @@ -43,14 +43,14 @@ #define SYSFS_NAME_LEN 64 #define SYSFS_BUS_ID_SIZE 32 +/* mount path for sysfs, can be overridden by exporting SYSFS_PATH */ +#define SYSFS_MNT_PATH "/sys" + enum sysfs_attribute_method { SYSFS_METHOD_SHOW = 0x01, /* attr can be read by user */ SYSFS_METHOD_STORE = 0x02, /* attr can be changed by user */ }; -/* NOTE: statically define mnt path for sysfs */ -#define SYSFS_MNT_PATH "/sys" - /* * NOTE: * 1. We have the statically allocated "name" as the first element of all |