chiark / gitweb /
Release 1.3.1.
[misc] / prlimit.c
index d7f94f904c14b2d8ae017b9f67c1baabc1164e0f..b7d6df1852968ca5bbbc38abd1497365007d09b6 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)