fix buffer length for deskenv_init

SVN revision: 80660
This commit is contained in:
Mike Blumenkrantz 2012-12-11 14:31:12 +00:00
parent b341cd4689
commit 90ce8a3f24
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
EINTERN int
e_deskenv_init(void)
{
char buf[PATH_MAX], buf2[4096];
char buf[PATH_MAX], buf2[PATH_MAX + sizeof("xrdb -load ")];
// run xdrb -load .Xdefaults & .Xresources
// NOTE: one day we should replace this with an e based config + service