chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rules: fix typo
[elogind.git]
/
extras
/
gudev
/
gudevdevice.c
diff --git
a/extras/gudev/gudevdevice.c
b/extras/gudev/gudevdevice.c
index 6f30d12d075fe6f748dbfb448002075fe6bd8a0f..38d602c42ac2600bafaafa2cb48a0995d39ecee6 100644
(file)
--- a/
extras/gudev/gudevdevice.c
+++ b/
extras/gudev/gudevdevice.c
@@
-538,7
+538,7
@@
out:
* @key: Name of property.
*
* Look up the value for @key on @device and convert it to an unsigned
* @key: Name of property.
*
* Look up the value for @key on @device and convert it to an unsigned
- * 64-bit integer using
strto
ll().
+ * 64-bit integer using
g_ascii_strtou
ll().
*
* Returns: The value for @key or 0 if @key doesn't exist or isn't a
* #guint64.
*
* Returns: The value for @key or 0 if @key doesn't exist or isn't a
* #guint64.
@@
-558,7
+558,7
@@
g_udev_device_get_property_as_uint64 (GUdevDevice *device,
if (s == NULL)
goto out;
if (s == NULL)
goto out;
- result =
strto
ll (s, NULL, 0);
+ result =
g_ascii_strtou
ll (s, NULL, 0);
out:
return result;
}
out:
return result;
}
@@
-756,7
+756,7
@@
out:
* @name: Name of the sysfs attribute.
*
* Look up the sysfs attribute with @name on @device and convert it to an unsigned
* @name: Name of the sysfs attribute.
*
* Look up the sysfs attribute with @name on @device and convert it to an unsigned
- * 64-bit integer using
strto
ll().
+ * 64-bit integer using
g_ascii_strtou
ll().
*
* Returns: The value of the sysfs attribute or 0 if there is no such
* attribute.
*
* Returns: The value of the sysfs attribute or 0 if there is no such
* attribute.
@@
-776,7
+776,7
@@
g_udev_device_get_sysfs_attr_as_uint64 (GUdevDevice *device,
if (s == NULL)
goto out;
if (s == NULL)
goto out;
- result =
strto
ll (s, NULL, 0);
+ result =
g_ascii_strtou
ll (s, NULL, 0);
out:
return result;
}
out:
return result;
}