Fixed error message
This commit is contained in:
parent
eb41fcfaad
commit
3b0d2849f9
|
@ -7,11 +7,12 @@
|
||||||
|
|
||||||
|
|
||||||
/* unlink */
|
/* unlink */
|
||||||
static int _unlink(char * arg)
|
static int _unlink(char * file)
|
||||||
{
|
{
|
||||||
if(unlink(arg) == -1)
|
if(unlink(file) == -1)
|
||||||
{
|
{
|
||||||
perror(arg);
|
fprintf(stderr, "%s", "unlink: ");
|
||||||
|
perror(file);
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user