Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=68dfeb22f8dc5b5165670e541efffec80c5a9995
commit 68dfeb22f8dc5b5165670e541efffec80c5a9995 Author: James Buren <[email protected]> Date: Mon Aug 26 02:11:25 2013 -0500 dmconfig: fix DM disable via systemd diff --git a/src/dmconfig.c b/src/dmconfig.c index 03d3ef3..14b54e1 100644 --- a/src/dmconfig.c +++ b/src/dmconfig.c @@ -123,7 +123,7 @@ static bool update_via_new(void) // +1 to include null terminator in the memmove(). if(s != 0 && e != 0) - memmove(old,s,e-s+1); + memmove(old,s+1,e-s); } else *old = 0; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
