summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 647de32)
raw | patch | inline | side by side (parent: 647de32)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 25 Jan 2009 18:38:34 +0000 (18:38 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 25 Jan 2009 18:38:34 +0000 (18:38 +0000) |
src/rrd_tool.c | patch | blob | history |
diff --git a/src/rrd_tool.c b/src/rrd_tool.c
index d3bc2768643bcacb2bdf0ec94f133b65e7cd76c0..23e05c018df33038580f4289f40f4638afee2bc7 100644 (file)
--- a/src/rrd_tool.c
+++ b/src/rrd_tool.c
#if defined(HAVE_SYS_STAT_H)
struct stat st;
#endif
- char *cwd; /* To hold current working dir on call to pwd */
/* Reset errno to 0 before we start.
*/
return (0);
}
if (argc > 1 && strcmp("pwd", argv[1]) == 0) {
+ char *cwd; /* To hold current working dir on call to pwd */
if (argc > 2) {
printf("ERROR: invalid parameter count for pwd\n");
return (1);