aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/drbd/drbd_main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
index bd380b94fd08..920ede2829d6 100644
--- a/drivers/block/drbd/drbd_main.c
+++ b/drivers/block/drbd/drbd_main.c
@@ -4365,12 +4365,11 @@ const char *drbd_buildtag(void)
4365 static char buildtag[38] = "\0uilt-in"; 4365 static char buildtag[38] = "\0uilt-in";
4366 4366
4367 if (buildtag[0] == 0) { 4367 if (buildtag[0] == 0) {
4368#ifdef CONFIG_MODULES 4368#ifdef MODULE
4369 if (THIS_MODULE != NULL) 4369 sprintf(buildtag, "srcversion: %-24s", THIS_MODULE->srcversion);
4370 sprintf(buildtag, "srcversion: %-24s", THIS_MODULE->srcversion); 4370#else
4371 else 4371 buildtag[0] = 'b';
4372#endif 4372#endif
4373 buildtag[0] = 'b';
4374 } 4373 }
4375 4374
4376 return buildtag; 4375 return buildtag;