projects
/
ltt-control.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update ioctl
[ltt-control.git]
/
ltt-control
/
liblttctl
/
liblttctl.c
diff --git
a/ltt-control/liblttctl/liblttctl.c
b/ltt-control/liblttctl/liblttctl.c
index 4690d7b867bb32b6a64f99018478a57be7102489..61bca62e769e5f0a316e8cb550820acd0c09a415 100644
(file)
--- a/
ltt-control/liblttctl/liblttctl.c
+++ b/
ltt-control/liblttctl/liblttctl.c
@@
-107,7
+107,7
@@
static ssize_t lttctl_netlink_sendto(const struct lttctl_handle *h,
const void *msg, size_t len)
{
int status = sendto(h->fd, msg, len, 0,
const void *msg, size_t len)
{
int status = sendto(h->fd, msg, len, 0,
-
(struct sockaddr *)&h->peer, sizeof(h->peer));
+ (struct sockaddr *)&h->peer, sizeof(h->peer));
if (status < 0)
lttctl_errno = LTTCTL_ERR_SEND;
if (status < 0)
lttctl_errno = LTTCTL_ERR_SEND;
@@
-172,7
+172,7
@@
static ssize_t lttctl_netlink_recvfrom(const struct lttctl_handle *h,
}
}
status = recvfrom(h->fd, buf, len, 0,
}
}
status = recvfrom(h->fd, buf, len, 0,
-
(struct sockaddr *)&h->peer, &addrlen);
+ (struct sockaddr *)&h->peer, &addrlen);
if (status < 0) {
lttctl_errno = LTTCTL_ERR_RECV;
if (status < 0) {
lttctl_errno = LTTCTL_ERR_RECV;
@@
-450,12
+450,12
@@
int lttctl_stop(const struct lttctl_handle *h,
{
struct {
struct nlmsghdr nlh;
{
struct {
struct nlmsghdr nlh;
- lttctl_peer_msg_t
msg;
+ lttctl_peer_msg_t msg;
} req;
struct {
struct nlmsghdr nlh;
struct nlmsgerr nlerr;
} req;
struct {
struct nlmsghdr nlh;
struct nlmsgerr nlerr;
- lttctl_peer_msg_t
msg;
+ lttctl_peer_msg_t msg;
} ack;
int err;
} ack;
int err;
This page took
0.026431 seconds
and
4
git commands to generate.