48af67da26
- udev: path_id - handle Hyper-V devices add: 1008-udev-path_id-handle-Hyper-V-devices.patch - keymap: Update the list of Samsung Series 9 models add: 1009-keymap-Update-the-list-of-Samsung-Series-9-models.patch - keymap: Add Samsung 700T add: 1010-keymap-Add-Samsung-700T.patch - libudev: avoid leak during realloc failure add: 1011-libudev-avoid-leak-during-realloc-failure.patch - libudev: do not resolve $attr{device} symlinks add: 1012-libudev-do-not-resolve-attr-device-symlinks.patch - libudev: validate 'udev' argument to udev_enumerate_new() add: 1013-libudev-validate-udev-argument-to-udev_enumerate_new.patch - udev: fix whitespace add: 1014-udev-fix-whitespace.patch - udev: properly handle symlink removal by 'change' event add: 1015-udev-properly-handle-symlink-removal-by-change-event.patch - udev: builtin - do not fail builtin initialization if one of them returns an error add: 1016-udev-builtin-do-not-fail-builtin-initialization-if-o.patch - udev: use usec_t and now() add: 1017-udev-use-usec_t-and-now.patch closing an non-existent dbus connection and getting assertion failures. - udev: path_id - handle Hyper-V devices add: 1008-udev-path_id-handle-Hyper-V-devices.patch - keymap: Update the list of Samsung Series 9 models add: 1009-keymap-Update-the-list-of-Samsung-Series-9-models.patch - keymap: Add Samsung 700T add: 1010-keymap-Add-Samsung-700T.patch OBS-URL: https://build.opensuse.org/request/show/147673 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=120
57 lines
3.5 KiB
Diff
57 lines
3.5 KiB
Diff
From 3fd0c4c66df45ee457cfb5e4ca8e285914ebc32f Mon Sep 17 00:00:00 2001
|
|
From: Kay Sievers <kay@vrfy.org>
|
|
Date: Tue, 20 Nov 2012 18:07:14 +0100
|
|
Subject: [PATCH] udev: fix whitespace
|
|
|
|
---
|
|
src/udev/udev-event.c | 36 ++++++++++++++++++------------------
|
|
1 files changed, 18 insertions(+), 18 deletions(-)
|
|
|
|
Index: systemd-195/src/udev/udev-event.c
|
|
===================================================================
|
|
--- systemd-195.orig/src/udev/udev-event.c
|
|
+++ systemd-195/src/udev/udev-event.c
|
|
@@ -90,24 +90,24 @@ size_t udev_event_apply_format(struct ud
|
|
const char fmt;
|
|
enum subst_type type;
|
|
} map[] = {
|
|
- { .name = "devnode", .fmt = 'N', .type = SUBST_DEVNODE },
|
|
- { .name = "tempnode", .fmt = 'N', .type = SUBST_DEVNODE },
|
|
- { .name = "attr", .fmt = 's', .type = SUBST_ATTR },
|
|
- { .name = "sysfs", .fmt = 's', .type = SUBST_ATTR },
|
|
- { .name = "env", .fmt = 'E', .type = SUBST_ENV },
|
|
- { .name = "kernel", .fmt = 'k', .type = SUBST_KERNEL },
|
|
- { .name = "number", .fmt = 'n', .type = SUBST_KERNEL_NUMBER },
|
|
- { .name = "driver", .fmt = 'd', .type = SUBST_DRIVER },
|
|
- { .name = "devpath", .fmt = 'p', .type = SUBST_DEVPATH },
|
|
- { .name = "id", .fmt = 'b', .type = SUBST_ID },
|
|
- { .name = "major", .fmt = 'M', .type = SUBST_MAJOR },
|
|
- { .name = "minor", .fmt = 'm', .type = SUBST_MINOR },
|
|
- { .name = "result", .fmt = 'c', .type = SUBST_RESULT },
|
|
- { .name = "parent", .fmt = 'P', .type = SUBST_PARENT },
|
|
- { .name = "name", .fmt = 'D', .type = SUBST_NAME },
|
|
- { .name = "links", .fmt = 'L', .type = SUBST_LINKS },
|
|
- { .name = "root", .fmt = 'r', .type = SUBST_ROOT },
|
|
- { .name = "sys", .fmt = 'S', .type = SUBST_SYS },
|
|
+ { .name = "devnode", .fmt = 'N', .type = SUBST_DEVNODE },
|
|
+ { .name = "tempnode", .fmt = 'N', .type = SUBST_DEVNODE },
|
|
+ { .name = "attr", .fmt = 's', .type = SUBST_ATTR },
|
|
+ { .name = "sysfs", .fmt = 's', .type = SUBST_ATTR },
|
|
+ { .name = "env", .fmt = 'E', .type = SUBST_ENV },
|
|
+ { .name = "kernel", .fmt = 'k', .type = SUBST_KERNEL },
|
|
+ { .name = "number", .fmt = 'n', .type = SUBST_KERNEL_NUMBER },
|
|
+ { .name = "driver", .fmt = 'd', .type = SUBST_DRIVER },
|
|
+ { .name = "devpath", .fmt = 'p', .type = SUBST_DEVPATH },
|
|
+ { .name = "id", .fmt = 'b', .type = SUBST_ID },
|
|
+ { .name = "major", .fmt = 'M', .type = SUBST_MAJOR },
|
|
+ { .name = "minor", .fmt = 'm', .type = SUBST_MINOR },
|
|
+ { .name = "result", .fmt = 'c', .type = SUBST_RESULT },
|
|
+ { .name = "parent", .fmt = 'P', .type = SUBST_PARENT },
|
|
+ { .name = "name", .fmt = 'D', .type = SUBST_NAME },
|
|
+ { .name = "links", .fmt = 'L', .type = SUBST_LINKS },
|
|
+ { .name = "root", .fmt = 'r', .type = SUBST_ROOT },
|
|
+ { .name = "sys", .fmt = 'S', .type = SUBST_SYS },
|
|
};
|
|
const char *from;
|
|
char *s;
|