mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 06:25:25 +03:00
libudev: ctrl - fix typo in set_env()
This commit is contained in:
parent
2c09b3b41d
commit
6a95b1e7d6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user