aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorJoakim Verona2011-09-05 10:37:16 +0200
committerJoakim Verona2011-09-05 10:37:16 +0200
commit687faaf59cdf4029b5e8da16965b257592059e37 (patch)
treec19fc758dc421ec1e6619de88d7cd70258927b47 /src/process.c
parentd47f8c5baeaa804548a73675077c8e37cdfe5142 (diff)
parentf62bd846552a090f3ba5e136d6d9cdb4c07ed7be (diff)
downloademacs-687faaf59cdf4029b5e8da16965b257592059e37.tar.gz
emacs-687faaf59cdf4029b5e8da16965b257592059e37.zip
upstream
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index a8088322147..058ad5f871f 100644
--- a/src/process.c
+++ b/src/process.c
@@ -616,8 +616,8 @@ make_process (Lisp_Object name)
616{ 616{
617 register Lisp_Object val, tem, name1; 617 register Lisp_Object val, tem, name1;
618 register struct Lisp_Process *p; 618 register struct Lisp_Process *p;
619 char suffix[10]; 619 char suffix[sizeof "<>" + INT_STRLEN_BOUND (printmax_t)];
620 register int i; 620 printmax_t i;
621 621
622 p = allocate_process (); 622 p = allocate_process ();
623 623
@@ -651,7 +651,7 @@ make_process (Lisp_Object name)
651 { 651 {
652 tem = Fget_process (name1); 652 tem = Fget_process (name1);
653 if (NILP (tem)) break; 653 if (NILP (tem)) break;
654 sprintf (suffix, "<%d>", i); 654 sprintf (suffix, "<%"pMd">", i);
655 name1 = concat2 (name, build_string (suffix)); 655 name1 = concat2 (name, build_string (suffix));
656 } 656 }
657 name = name1; 657 name = name1;