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:
Bart Van Assche
2010-11-24 13:29:21 +00:00
parent 078c37afe0
commit 9f6db631d1
+1 -1
View File
@@ -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;