summaryrefslogtreecommitdiff
path: root/vdagent.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-30 09:22:33 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-30 15:23:14 +0200
commitff766cfb9da485aa6dab37259bf06d51840022ca (patch)
treef2bdf905dc1cc665f0ebb5e77249784224bdca09 /vdagent.c
parent2fa589f0dd21cae11449ad946c605b3f65c127d2 (diff)
Rename user visible files from vdagent* to spice-vdagent*
vdagent is a bit of a generic name and thus might create file conflicts, also just vdagent just not make it clear to the user that vdagent belongs to spice.
Diffstat (limited to 'vdagent.c')
-rw-r--r--vdagent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdagent.c b/vdagent.c
index ef507b2..de60627 100644
--- a/vdagent.c
+++ b/vdagent.c
@@ -115,9 +115,9 @@ int main(int argc, char *argv[])
home = getenv("HOME");
if (home) {
- snprintf(filename, sizeof(filename), "%s/.spice-agent", home);
+ snprintf(filename, sizeof(filename), "%s/.spice-vdagent", home);
n = mkdir(filename, 0755);
- snprintf(filename, sizeof(filename), "%s/.spice-agent/log", home);
+ snprintf(filename, sizeof(filename), "%s/.spice-vdagent/log", home);
logfile = fopen(filename, "w");
if (!logfile) {
fprintf(stderr, "Error opening %s: %s\n", filename,