about summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-10-18 17:53:31 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-10-18 17:53:31 +0200
commit3207b0a6ba2cbad44b1763e2f3ea865e24d9352c (patch)
tree64c214bc2d2526876381e78b548c99e5b5ed6b9b /contrib
parentbde965dffb468ed77abf9718885da922d5358cdb (diff)
downloadmblaze-3207b0a6ba2cbad44b1763e2f3ea865e24d9352c.tar.gz
mblaze-3207b0a6ba2cbad44b1763e2f3ea865e24d9352c.tar.xz
mblaze-3207b0a6ba2cbad44b1763e2f3ea865e24d9352c.zip
msuck: pad pids to 5 decimals
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/msuck2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/msuck b/contrib/msuck
index 5777a6b..3fe58b7 100755
--- a/contrib/msuck
+++ b/contrib/msuck
@@ -13,7 +13,7 @@ HOST = Socket.gethostname
 def genname(id)
   $delivery += 1
   t = Time.now
-  "%d.M%06dP%dQ%d.%s,N=%d" % [t.tv_sec, t.tv_usec, $$, $delivery, HOST, id]
+  "%d.M%06dP%05dQ%d.%s,N=%d" % [t.tv_sec, t.tv_usec, $$, $delivery, HOST, id]
 end
 
 params = ARGV.getopts("d:fl:s:L")