ktrdump(8): Fix wrongly placed 'break' for floating point unpacking.
authorSascha Wildner <saw@online.de>
Sat, 20 Jan 2018 10:37:04 +0000 (11:37 +0100)
committerSascha Wildner <saw@online.de>
Sat, 20 Jan 2018 10:37:34 +0000 (11:37 +0100)
usr.bin/ktrdump/ktrdump.c

index 8981270..105101d 100644 (file)
@@ -1251,8 +1251,8 @@ conversion_size(const char *fmt, enum argument_class *argclass)
                        convsize = sizeof(double);
                else
                        convsize = sizeof(float);
-               break;
                *argclass = ARGCLASS_FP;
+               break;
        case 's':
                convsize = sizeof(char *);
                *argclass = ARGCLASS_INTEGER;