diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-10-09 15:21:41 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-10-09 15:21:41 -0400 |
commit | 914e6ccbee295f0f950bff220b921ad013aaa20e (patch) | |
tree | 5e58f84b6a94115f886190acec48cee110ea20df /id.c | |
parent | 058638ce2e303a148511f128a58bbc8ff2b914ad (diff) |
Diffstat (limited to 'id.c')
-rw-r--r-- | id.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* * UNG's Not GNU * - * Copyright (c) 2011-2019, Jakob Kaivo <jkk@ung.org> + * Copyright (c) 2011-2020, Jakob Kaivo <jkk@ung.org> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -157,8 +157,7 @@ int main(int argc, char *argv[]) if (optind == argc - 1) { struct passwd *pwd = getpwnam(argv[optind]); if (pwd == NULL) { - fprintf(stderr, "id: user '%s' not found\n", - argv[optind]); + fprintf(stderr, "id: %s: not found\n", argv[optind]); return 1; } uid = ruid = euid = pwd->pw_uid; |