summaryrefslogtreecommitdiffstats
path: root/toolbox/lsmod.c
blob: 8b55ee61bf7b48b40dce60277c4ef32fced1a2b9 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

extern int cat_main(int argc, char **argv);

int lsmod_main(int argc, char **argv)
{
	char *cat_argv[] = { "cat", "/proc/modules", NULL };
	return cat_main(2, cat_argv);
}