projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error.h non-static variables for liblttng-ctl
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
modprobe.c
diff --git
a/src/bin/lttng-sessiond/modprobe.c
b/src/bin/lttng-sessiond/modprobe.c
index a87d7075489d1cd640a5b91e23872abecb8f64fe..65032e41409637338eadea6a53951e42db4d0d9c 100644
(file)
--- a/
src/bin/lttng-sessiond/modprobe.c
+++ b/
src/bin/lttng-sessiond/modprobe.c
@@
-101,7
+101,7
@@
void modprobe_remove_lttng_data(void)
"/sbin/modprobe -r -q %s",
kern_modules_list[i].name);
if (ret < 0) {
"/sbin/modprobe -r -q %s",
kern_modules_list[i].name);
if (ret < 0) {
-
perror
("snprintf modprobe -r");
+
PERROR
("snprintf modprobe -r");
goto error;
}
modprobe[sizeof(modprobe) - 1] = '\0';
goto error;
}
modprobe[sizeof(modprobe) - 1] = '\0';
@@
-182,7
+182,7
@@
int modprobe_lttng_data(void)
kern_modules_list[i].required ? "" : "-q ",
kern_modules_list[i].name);
if (ret < 0) {
kern_modules_list[i].required ? "" : "-q ",
kern_modules_list[i].name);
if (ret < 0) {
-
perror
("snprintf modprobe");
+
PERROR
("snprintf modprobe");
goto error;
}
modprobe[sizeof(modprobe) - 1] = '\0';
goto error;
}
modprobe[sizeof(modprobe) - 1] = '\0';
This page took
0.028661 seconds
and
4
git commands to generate.