Changeset 19 in openpam for trunk/lib/pam_strerror.c


Ignore:
Timestamp:
Feb 2, 2002, 6:04:31 PM (19 years ago)
Author:
Dag-Erling Smørgrav
Message:

Use 'sizeof(foo)' instead of 'sizeof foo' even where it's not
required. Although style(9) doesn't say anything about it, this
seems to be the preferred form.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_strerror.c

    r16 r19  
    118118                return ("unknown authentication domain");
    119119        default:
    120                 snprintf(unknown, sizeof unknown, "#%d", error_number);
     120                snprintf(unknown, sizeof(unknown), "#%d", error_number);
    121121                return (unknown);
    122122        }
Note: See TracChangeset for help on using the changeset viewer.