diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-28 23:54:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-28 23:54:47 +0000 |
commit | eae0819e3d4e09d7263948cc25f784480ce53267 (patch) | |
tree | 2e79e819a7f090268667f03a3b5222f77968808f /src | |
parent | 550a02c909fc48ea993145dd88712f976ca6c8e0 (diff) | |
download | coreutils-eae0819e3d4e09d7263948cc25f784480ce53267.tar.xz |
add comment for prev change
Diffstat (limited to 'src')
-rw-r--r-- | src/who.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -393,6 +393,8 @@ static char * make_id_equals_comment (STRUCT_UTMP const *utmp_ent) { char *comment = xmalloc (sizeof (_("id=")) + sizeof UT_ID (utmp_ent) + 1); + + /* Cast field width argument to `int' to avoid warning from gcc. */ sprintf (comment, "%s%.*s", _("id="), (int) sizeof UT_ID (utmp_ent), UT_ID (utmp_ent)); return comment; |