Patch from vodz:
[oweals/busybox.git] / libbb / get_console.c
index 794888fa7b2520ce902d48a6cbe64a524977f6de..1b24ceb57732703cddebbc0a85242d9bf4f62a3d 100644 (file)
@@ -2,8 +2,8 @@
 /*
  * Utility routines.
  *
- * Copyright (C) many different people.  If you wrote this, please
- * acknowledge your work.
+ * Copyright (C) many different people.  
+ * If you wrote this, please acknowledge your work.
  *
  * 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
@@ -106,7 +106,7 @@ int get_console_fd(void)
                if (is_a_console(fd))
                        return fd;
 
-       error_msg("Couldn't get a file descriptor referring to the console");
+       bb_error_msg("Couldn't get a file descriptor referring to the console");
        return -1;                                      /* total failure */
 }