summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-path_id.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-20 03:00:46 +0900
committerLennart Poettering <lennart@poettering.net>2018-10-19 22:19:12 +0200
commit14cb109d4594ff89e8d5449a89c38e4b0d78afd8 (patch)
tree39d18b57229b9766134077240307b7efa588904f /src/udev/udev-builtin-path_id.c
parent347a19343c7975fc4c2d627150fce4b4e75f91ac (diff)
downloadsystemd-14cb109d4594ff89e8d5449a89c38e4b0d78afd8.tar.gz
tree-wide: replace 'unsigned int' with 'unsigned'
Diffstat (limited to 'src/udev/udev-builtin-path_id.c')
-rw-r--r--src/udev/udev-builtin-path_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c
index 693b9820b8..6bbce3c66c 100644
--- a/src/udev/udev-builtin-path_id.c
+++ b/src/udev/udev-builtin-path_id.c
@@ -452,7 +452,7 @@ static struct udev_device *handle_scsi(struct udev_device *parent, char **path,
static struct udev_device *handle_cciss(struct udev_device *parent, char **path) {
const char *str;
- unsigned int controller, disk;
+ unsigned controller, disk;
str = udev_device_get_sysname(parent);
if (sscanf(str, "c%ud%u%*s", &controller, &disk) != 2)
@@ -497,7 +497,7 @@ static struct udev_device *handle_usb(struct udev_device *parent, char **path) {
static struct udev_device *handle_bcma(struct udev_device *parent, char **path) {
const char *sysname;
- unsigned int core;
+ unsigned core;
sysname = udev_device_get_sysname(parent);
if (sscanf(sysname, "bcma%*u:%u", &core) != 1)