X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=daemon.c;h=94c4a8cba6b9aae8646491f3eeddfff016914c7b;hb=cd624494dc77e7283ee87bc474c55b0b1d2c2363;hp=ca74595695985ad866c6ad849cbc343e2801850a;hpb=bb3daee7cc11561159f168fe4f5427b53e54917f;p=paraslash.git diff --git a/daemon.c b/daemon.c index ca745956..94c4a8cb 100644 --- a/daemon.c +++ b/daemon.c @@ -249,11 +249,15 @@ void daemon_open_log_or_die(void) /** * Log the startup message containing the paraslash version. + * + * \param name The name of the executable. + * + * First the given \a name is prefixed with the string "para_". Next the git + * version is appended. The resulting string is logged with priority "INFO". */ -void daemon_log_welcome(const char *whoami) +void daemon_log_welcome(const char *name) { - PARA_INFO_LOG("welcome to %s " PACKAGE_VERSION " ("BUILD_DATE")\n", - whoami); + PARA_INFO_LOG("welcome to para_%s-" PACKAGE_VERSION " \n", name); } /**