chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] introduce OPTIONS=ignore_device, ignore_remove, all_partitions" key
[elogind.git]
/
udev_add.c
diff --git
a/udev_add.c
b/udev_add.c
index be62e130ab4cc33bf2f2bd111bbc4681a21ced3d..f384ea96e50043405fb37abfb70705f721024a8a 100644
(file)
--- a/
udev_add.c
+++ b/
udev_add.c
@@
-194,7
+194,7
@@
static int create_node(struct udevice *udev, struct sysfs_class_device *class_de
}
/* create all_partitions if requested */
- if (udev->partitions
> 0
) {
+ if (udev->partitions) {
struct sysfs_attribute *attr;
int range;