Permalink
Browse files

I *HATE* solaris

  • Loading branch information...
1 parent fdff8f0 commit 42459cf4c1af6a6600767f41db6b0290ab80b3fd @imnotlistening committed Oct 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/builtin.c
View
@@ -221,7 +221,7 @@ int builtin_dproc(int argc, char **argv, int in, int out, int err){
while ( (proc = get_next_proc(&state)) != NULL ){
- printf("pid %-5d (%s): %s\n", proc->pid,
+ printf("pid %-5ld (%s): %s\n", (long)proc->pid,
proc->running ? "running" : "stopped", proc->name);
}

0 comments on commit 42459cf

Please sign in to comment.