Changeset 19 in openpam for trunk/bin


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/bin/su/su.c

    r16 r19  
    9393
    9494        /* set some items */
    95         gethostname(hostname, sizeof hostname);
     95        gethostname(hostname, sizeof(hostname));
    9696        check("pam_set_item", pam_set_item(pamh, PAM_RHOST, hostname));
    9797        user = getlogin();
Note: See TracChangeset for help on using the changeset viewer.