mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
scst/sysfs: Bug fix - made sure that the proper LUN number is available in sysfs on big endian systems.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2815 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2610,7 +2610,7 @@ int scst_acg_dev_sysfs_create(struct scst_acg_dev *acg_dev,
|
||||
TRACE_ENTRY();
|
||||
|
||||
res = kobject_init_and_add(&acg_dev->acg_dev_kobj, &acg_dev_ktype,
|
||||
parent, "%u", acg_dev->lun);
|
||||
parent, "%llu", acg_dev->lun);
|
||||
if (res != 0) {
|
||||
PRINT_ERROR("Can't add acg_dev %p to sysfs", acg_dev);
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user