chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c09b3b
)
libudev: ctrl - fix typo in set_env()
author
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 16 Oct 2008 11:34:11 +0000
(13:34 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 16 Oct 2008 11:34:11 +0000
(13:34 +0200)
udev/lib/libudev-ctrl.c
patch
|
blob
|
history
diff --git
a/udev/lib/libudev-ctrl.c
b/udev/lib/libudev-ctrl.c
index 268ce2d353e09d05d6853a20ac3280246258e280..75356b1d5fe16b88f3557fff8530b4de7825c429 100644
(file)
--- a/
udev/lib/libudev-ctrl.c
+++ b/
udev/lib/libudev-ctrl.c
@@
-30,6
+30,7
@@
#include "libudev.h"
#include "libudev-private.h"
+/* last known version with this wire protocol */
#define UDEV_CTRL_MAGIC "udevd-128"
enum udev_ctrl_msg_type {
@@
-189,7
+190,7
@@
int udev_ctrl_send_reload_rules(struct udev_ctrl *uctrl)
int udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key)
{
- ctrl_send(uctrl, UDEV_CTRL_SET_ENV, 0,
optarg
);
+ ctrl_send(uctrl, UDEV_CTRL_SET_ENV, 0,
key
);
return 0;
}