projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f930c
)
udevadm-monitor: use TAKE_PTR
author
Susant Sahani
<ssahani@vmware.com>
Sun, 17 Jan 2021 09:31:30 +0000
(10:31 +0100)
committer
Susant Sahani
<ssahani@vmware.com>
Sun, 17 Jan 2021 13:25:21 +0000
(14:25 +0100)
src/udev/udevadm-monitor.c
patch
|
blob
|
history
diff --git
a/src/udev/udevadm-monitor.c
b/src/udev/udevadm-monitor.c
index 740344606de2d80f6c465ea4842dc4c3cdfe97ca..64b1160d71a4a5270dbda1222cbbc01e0bd079de 100644
(file)
--- a/
src/udev/udevadm-monitor.c
+++ b/
src/udev/udevadm-monitor.c
@@
-161,7
+161,8
@@
static int parse_argv(int argc, char *argv[]) {
if (r < 0)
return r;
- subsystem = devtype = NULL;
+ TAKE_PTR(subsystem);
+ TAKE_PTR(devtype);
break;
}
case 't':