Mercurial > hg > toybox
changeset 1052:dc9e297ae13b draft
Missing typecast in recent rm fix. Oops.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 06 Sep 2013 01:55:53 -0500 |
parents | 626cc2108480 |
children | 501fd74c028e |
files | toys/posix/rm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/toys/posix/rm.c Thu Sep 05 06:54:46 2013 -0500 +++ b/toys/posix/rm.c Fri Sep 06 01:55:53 2013 -0500 @@ -62,7 +62,7 @@ skip: if (unlinkat(fd, try->name, using)) { - if (!dir || try->symlink != 2) perror_msg("%s", try->name); + if (!dir || try->symlink != (char *)2) perror_msg("%s", try->name); nodelete: if (try->parent) try->parent->symlink = (char *)2; }