Patch from vodz:
[oweals/busybox.git] / libbb / wfopen.c
index f58ec90c02698464ba67f67fe6477b029a513999..368451c5200c5d46c16e16f9ab80fcd88c296dde 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Utility routines.
  *
- * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #include <errno.h>
 #include "libbb.h"
 
-FILE *wfopen(const char *path, const char *mode)
+FILE *bb_wfopen(const char *path, const char *mode)
 {
        FILE *fp;
        if ((fp = fopen(path, mode)) == NULL) {
-               perror_msg("%s", path);
+               bb_perror_msg("%s", path);
                errno = 0;
        }
        return fp;