]> git.decadent.org.uk Git - nfs-utils.git/blob - getkversion.c
abe17054ceda880801df08a07fea6bf08ce0e55e
[nfs-utils.git] / getkversion.c
1 /*
2  * Get version number of the kernel this was compiled for.
3  * This is NOT the same as calling uname(), because we may be
4  * running on a different kernel.
5  */
6
7 #ifdef HAVE_CONFIG_H
8 #include <config.h>
9 #endif
10
11 #include <linux/version.h>
12 #include <stdio.h>
13
14 int
15 main(void)      /* This is for Dan Popp ;) */
16 {
17         printf("%s\n", UTS_RELEASE);
18         return 0;
19 }