summaryrefslogtreecommitdiffstats
path: root/dragonflybsd
diff options
context:
space:
mode:
authorRobert Crowston <crowston@protonmail.com>2019-04-17 10:06:37 +0100
committerRobert Crowston <crowston@protonmail.com>2019-04-17 10:07:13 +0100
commitfabe75685a8c1691d50bc2843ff0a49802997c04 (patch)
treedabd63239dc8c9880c626635457d2a79628dcfb5 /dragonflybsd
parent402e46bb82964366746b86d77eb5afa69c279539 (diff)
Truncate overwide jail names on BSD.
Diffstat (limited to 'dragonflybsd')
-rw-r--r--dragonflybsd/DragonFlyBSDProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dragonflybsd/DragonFlyBSDProcess.c b/dragonflybsd/DragonFlyBSDProcess.c
index dade106d..11a86aad 100644
--- a/dragonflybsd/DragonFlyBSDProcess.c
+++ b/dragonflybsd/DragonFlyBSDProcess.c
@@ -121,7 +121,7 @@ void DragonFlyBSDProcess_writeField(Process* this, RichString* str, ProcessField
case PID: xSnprintf(buffer, n, Process_pidFormat, (fp->kernel ? -1 : this->pid)); break;
case JID: xSnprintf(buffer, n, Process_pidFormat, fp->jid); break;
case JAIL:{
- xSnprintf(buffer, n, "%-11s ", fp->jname); break;
+ xSnprintf(buffer, n, "%-11s ", fp->jname);
if (buffer[11] != '\0') {
buffer[11] = ' ';
buffer[12] = '\0';

© 2014-2024 Faster IT GmbH | imprint | privacy policy