VirtualBox

Changeset 98168 in vbox


Ignore:
Timestamp:
Jan 20, 2023 8:33:34 PM (23 months ago)
Author:
vboxsync
Message:

VBoxDTrace: pedantic build fix. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c

    r83810 r98168  
    212212            predact, predact, predact, predact, predact);
    213213
    214         (void) fprintf(fp, "\tpredicate -> '/' D-expression '/'\n");
    215         (void) fprintf(fp, "\t   action -> '{' D-statements '}'\n");
    216 
    217         (void) fprintf(fp, "\n"
     214        (void) fputs(
     215            "\tpredicate -> '/' D-expression '/'\n"
     216            "\t   action -> '{' D-statements '}'\n", fp);
     217
     218        (void) fputs(
     219            "\n"
    218220            "\t-32 generate 32-bit D programs and ELF files\n"
    219221            "\t-64 generate 64-bit D programs and ELF files\n\n"
     
    226228            "\t-e  exit after compiling request but prior to enabling probes\n"
    227229            "\t-f  enable or list probes matching the specified function name\n"
    228             "\t-F  coalesce trace output by function\n"
     230            "\t-F  coalesce trace output by function\n", fp);
     231        (void) fputs(
    229232            "\t-G  generate an ELF file containing embedded dtrace program\n"
    230233            "\t-h  generate a header file with definitions for static probes\n"
     
    238241            "\t-o  set output file\n"
    239242            "\t-p  grab specified process-ID and cache its symbol tables\n"
    240             "\t-P  enable or list probes matching the specified provider name\n"
     243            "\t-P  enable or list probes matching the specified provider name\n", fp);
     244        (void) fputs(
    241245            "\t-q  set quiet mode (only output explicitly traced data)\n"
    242246            "\t-s  enable or list probes according to the specified D script\n"
     
    248252            "\t-x  enable or modify compiler and tracing options\n"
    249253            "\t-X  specify ISO C conformance settings for preprocessor\n"
    250             "\t-Z  permit probe descriptions that match zero probes\n");
     254            "\t-Z  permit probe descriptions that match zero probes\n", fp);
    251255
    252256        return (E_USAGE);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette