projects
/
rrdd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e30c8
)
src/rrdd.[ch]: Use package name and version from config.h.
author
Florian Forster
<octo@verplant.org>
Sat, 21 Jun 2008 02:04:54 +0000
(
04:04
+0200)
committer
Florian Forster
<octo@verplant.org>
Sat, 21 Jun 2008 02:04:54 +0000
(
04:04
+0200)
src/rrdd.c
patch
|
blob
|
history
src/rrdd.h
patch
|
blob
|
history
diff --git
a/src/rrdd.c
b/src/rrdd.c
index
c9e5e3e
..
13fdc90
100644
(file)
--- a/
src/rrdd.c
+++ b/
src/rrdd.c
@@
-243,7
+243,8
@@
int main (int argc, char **argv)
{
int status;
- printf ("rrdd by Florian Forster, Version 0.1\n");
+ printf ("%s by Florian Forster, Version %s\n",
+ PACKAGE_NAME, PACKAGE_VERSION);
status = daemonize ();
if (status == 1)
diff --git
a/src/rrdd.h
b/src/rrdd.h
index
05c57ba
..
cd46f2c
100644
(file)
--- a/
src/rrdd.h
+++ b/
src/rrdd.h
@@
-68,6
+68,8
@@
#include <rrd.h>
+#include "config.h"
+
#define RRDD_SOCK_PATH "/tmp/rrdd.sock"
#endif /* __RRDD_H */