Release 1.4.0.1: Fix transition magic for {nsict->distorted}-cdb.
[misc] / prlimit.c
index d7f94f9..b7d6df1 100644 (file)
--- a/prlimit.c
+++ b/prlimit.c
@@ -175,14 +175,14 @@ static const struct limittab *findlimit(const char *p, size_t n)
     if (strncmp(lt->name, p, n) == 0 && !lt->name[n])
       return (lt);
   }
-  die(EXIT_FAILURE, "unknown resource limit `%.*s'\n", n, p);
+  die(EXIT_FAILURE, "unknown resource limit `%.*s'\n", (int)n, p);
   return (0);
 }
 
 /*----- Help functions ----------------------------------------------------*/
 
 static void usage(FILE *fp)
-  { pquis(fp, "Usage: % -l | "
+  { pquis(fp, "Usage: $ -l | "
          "{hard | soft | both | PID | RSRC[=VALUE]}...\n"); }
 
 static void version(FILE *fp)