Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added LNET self test (landing b_self_test).
[fs/lustre-release.git]
/
lnet
/
utils
/
debugctl.c
diff --git
a/lnet/utils/debugctl.c
b/lnet/utils/debugctl.c
index
1b6cd96
..
cf70fd8
100644
(file)
--- a/
lnet/utils/debugctl.c
+++ b/
lnet/utils/debugctl.c
@@
-25,8
+25,8
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#include <
portals
/api-support.h>
-#include <
portals/ptl
ctl.h>
+#include <
lnet
/api-support.h>
+#include <
lnet/lnet
ctl.h>
#include "parser.h"
#include "parser.h"
@@
-53,7
+53,8
@@
int main(int argc, char **argv)
if (dbg_initialize(argc, argv) < 0)
exit(2);
if (dbg_initialize(argc, argv) < 0)
exit(2);
- register_ioc_dev(PORTALS_DEV_ID, PORTALS_DEV_PATH);
+ register_ioc_dev(LNET_DEV_ID, LNET_DEV_PATH,
+ LNET_DEV_MAJOR, LNET_DEV_MINOR);
Parser_init("debugctl > ", list);
if (argc > 1)
Parser_init("debugctl > ", list);
if (argc > 1)
@@
-61,6
+62,6
@@
int main(int argc, char **argv)
Parser_commands();
Parser_commands();
- unregister_ioc_dev(
PORTALS
_DEV_ID);
+ unregister_ioc_dev(
LNET
_DEV_ID);
return 0;
}
return 0;
}