revert
This commit is contained in:
@@ -36,7 +36,7 @@ void print_header(const struct setting *settings)
|
||||
{
|
||||
unsigned short pid = getpid();
|
||||
unsigned short s_pid = htons(getpid());
|
||||
printf(", id 0x%02x%02x = %d", (s_pid>>8) & 0xFF, s_pid & 0xFF, pid);
|
||||
printf(", id 0x%02x%02x = %d", s_pid & 0xFF, (s_pid>>8) & 0xFF, pid);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user