- use bb_error_msg
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 2 Apr 2007 17:01:22 +0000 (17:01 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 2 Apr 2007 17:01:22 +0000 (17:01 -0000)
coreutils/expr.c

index 8401594b5b14c38134dde0565471690297db8558..f75f6e0de54aa11b73fdc89fe0fc1f3500536359 100644 (file)
@@ -219,7 +219,7 @@ static VALUE *docolon(VALUE * sv, VALUE * pv)
        tostring(pv);
 
        if (pv->u.s[0] == '^') {
-               fprintf(stderr, "\
+               bb_error_msg("\
 warning: unportable BRE: `%s': using `^' as the first character\n\
 of a basic regular expression is not portable; it is being ignored", pv->u.s);
        }