Name: libstorage
Summary: Library to get storage information
-Version: 0.1.1
+Version: 1.0.0
Release: 0
Group: System/Libraries
License: Apache-2.0
%description devel
Library to get storage information (devel)
-
%prep
%setup -q
cp %{SOURCE1} .
%files
%{_libdir}/*.so.*
%{_sysconfdir}/storage/libstorage.conf
-%license LICENSE
+%license LICENSE.Apache-2.0
%manifest %{name}.manifest
%files devel
if (st->storage_id != storage_id)
continue;
if (!user) {
- _E("Only Tizen applications and user session daemons can use\
- storage_get_root_directory(INTERNAL_STORAGE_ID, ...)");
+ _E("Only apps and user session daemons are allowed "
+ "to use storage_get_root_directory(INTERNAL_STORAGE_ID, ...)");
return STORAGE_ERROR_INVALID_PARAMETER;
}
if (found && st) {
if (!user) {
- _E("Only Tizen applications and user session daemons can use\
- storage_get_directory(INTERNAL_STORAGE_ID, ...)");
+ _E("Only apps and user session daemons are allowed "
+ "to use storage_get_root_directory(INTERNAL_STORAGE_ID, ...)");
+
return STORAGE_ERROR_INVALID_PARAMETER;
}