]> mj.ucw.cz Git - libucw.git/blobdiff - lib/shell/logger.c
Redefined RadixThreshold to bound the array size instead of the number
[libucw.git] / lib / shell / logger.c
index 6ecb8766720b15770fdd29cb4d3c6406d0c566ec..67315c9eb4a8fb8900786e6a10aca7b486a3ff39 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Utilities -- A Simple Logger for use in shell scripts
+ *     UCW Library Utilities -- A Simple Logger for use in shell scripts
  *
  *     (c) 2001 Martin Mares <mj@ucw.cz>
  *
@@ -29,14 +29,14 @@ main(int argc, char **argv)
   else
     log_init(argv[1]);
   if (argc > 3)
-    log(argv[2][0], argv[3]);
+    msg(argv[2][0], argv[3]);
   else
     while (fgets(buf, sizeof(buf), stdin))
       {
        c = strchr(buf, '\n');
        if (c)
          *c = 0;
-       log(argv[2][0], buf);
+       msg(argv[2][0], buf);
       }
   return 0;
 }