diff options
author | 2002-03-30 13:44:45 +0000 | |
---|---|---|
committer | 2002-03-30 13:44:45 +0000 | |
commit | b719e49da943cac32d2d31c602e8e34585df4605 (patch) | |
tree | 51aa80b2fbdafa59664605b1d37b10b3941bcc2a /pw/pw_conf.c | |
parent | 04d1b23be991cae809ac39645d9ac7341ec74885 (diff) | |
download | pw-darwin-b719e49da943cac32d2d31c602e8e34585df4605.tar.gz pw-darwin-b719e49da943cac32d2d31c602e8e34585df4605.tar.zst pw-darwin-b719e49da943cac32d2d31c602e8e34585df4605.zip |
Minor post warns stuff.
1) Fix up vendor IDs for files I'm touching and put FBSDID in the right place.
2) Cast return value of snprintf to size_t rather than casting sizeof() to
an int, 'cos we know snprintf returns a non-genative number.
3) Avoid 'char *blank = "";' by just strduping. This could be bad sometimes,
but all these variables usually point at malloced memory so this makes
them always point at malloced memory.
Diffstat (limited to 'pw/pw_conf.c')
0 files changed, 0 insertions, 0 deletions